Exchanges the OAuth2 authorization code for an access token, or refreshes an existing access token using a refresh token.
- https://demo.api.zephr.comhttps://demo.api.zephr.com/zephr/oauth2/token
{ "grant_type": "refresh_token", "refresh_token": "6kuabo4gug8t9h13x7gt43cm" }
OK
One of:
The scope of the access request. Supported scopes: user.account:read, user.profile:read and user.profile:update
Example:"user.account:read user.profile:read user.profile:update"
The access token that can be used to obtain account and profile information
Example:"oa_nj1dfhecrs1jwxi0wd0xk49n"
Token type to be used in the Authorization header when requesting the resource's owner information
Example:"bearer"
Response
{ "scope": "user.account:read user.profile:read user.profile:update", "access_token": "oa_nj1dfhecrs1jwxi0wd0xk49n", "token_type": "bearer", "expires_in": 3600, "refresh_token": "6kuabo4gug8t9h13x7gt43cm", "user_id": "1234567890" }