Preparation

Create App

To add an application in System Settings -> Application Settings, select module permissions and generate client_id and client_secret.

Get Token

POST /open/auth/token

Query Params

Field Name Field Type Default Value
client_id string -
client_secret string -

Header Params

{}

Body Params

{}

Response Body Params

{
  "code": 200,
  "data": {
    "token": "xxxxxx",
    "token_type": "Bearer",
    "expiration": 1237889999
  }
}