latestOpenAPI 3.0.02026-08-10416661.5 MB

e96b3e58b041

Authorization

Request access token

Before you can successfully request a SalesMessage API, you must obtain an access token that grants access to the API.<br><br>The code your application receives at your Redirect URI is a temporary authorization code that is used to obtain an access token to call the API.<br><br>If the token is not redeemed in the alotted time, the user will need to go through the login and authorization process again.

post/oauth/token

Response

OK

token_typestring text
expires_instring text
access_tokenstring text
refresh_tokenstring text

Example response

{
  "token_type": "Bearer",
  "expires_in": "31536000",
  "access_token": "ouath token string",
  "refresh_token": "ouath token string"
}