API Documentation

Authorizing API

In order to use directly the API, you need to authorize your application.
We strongly recommend to give to your app only the permissions that you really need and nothing more; this will increase your security.

Getting an app token

Authorize app with key & secret

https://api.worldsoft-wbs.com/app/auth?company_id={COMPANY_ID}&key={KEY}&secret={SECRET}

- result is app_token. This token is valid 2 hours. In all the next calls, the token need to be used.

Login

https://api.worldsoft-wbs.com/login/login?username={USERNAME}&password={PASSWORD}&app_token={APP_TOKEN}

- result is token

Using other functions

API requests need app_token & token. Of course the permissions should allow using the methods

class CrmCustomers, function search

https://api.worldsoft-wbs.com/crm/customers/search?app_token={APP_TOKEN}&token={TOKEN}

Other parameters will be also added if necessary.
As app_token and token params are for all functions, they are not added to the description of each method again.

Classes available in API

Api
App
Login
Recovery
Calendar
Company
Crm
User
Billing
Ems
Pwa
Ems
Connector
Affiliate
Settings
Statistics
Logger
Processes
Widget
Storage
Shop
Psp
Mailing
Log