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
Request
- Base URLhttps://api.salesmessage.com/pub/v2.3
- URLhttps://api.salesmessage.com/pub/v2.3/oauth/token
- Authnone declared
Request body application/x-www-form-urlencoded
Example request
{
"grant_type": "authorization_code"
}Response
OK
Example response
{
"token_type": "Bearer",
"expires_in": "31536000",
"access_token": "ouath token string",
"refresh_token": "ouath token string"
}Changes
No recorded changes to this operation across all 3 revisions of this API.