Access Token
Access Token
Changed onMake a call to this endpoint to exchange a temporary authorization code for an access token.
post/authorization-codes/tokens
Request
- Base URLhttps://api.attentivemobile.com/v1
- AuthHTTP bearer
Request body application/x-www-form-urlencoded
Example request
{
"grant_type": "authorization_code",
"code": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3",
"redirect_uri": "https://test.com",
"client_id": "9f7a2f11a4f849f59268869ec766111c",
"client_secret": "0FvaRpPi5KBC4Izj9ALA0AG8J2WdcBhU"
}Response
Token generated
Example response
{
"access_token": "riSm9jz2Tq2XKO8ZqS1+CJg8tOJ8cALn19zRlQc9s1",
"id_token": "riSm9jz2Tq2XKO8ZqS1+CJg8tOJ8cALn19zRlQc9s1",
"token_type": "Bearer",
"expires_in": 900
}Changes
- info
added the optional property
to the response with the status
- info