Get scope enhancement token
Get a scope enhancement token from our authorization server. You will need to send a refresh token to which the additional scopes are to be appended.
Endpoint
Copied
Note: The accounts-server-url is specific to the location (i.e., datacenter) where your app is registered.
Query parameters
Parameter | Description |
client_id | required The unique ID of your application. You can find this in the API console. |
client_secret | required The unique secret for your app which is known only to your app and Zoho. You can find this is the API console. |
grant_type | required Should be sent with the value update_scopes_token. |
refresh_token | required The refresh token to which the additional scopes are to be appended. |
Request example
Copied
Response parameters
Parameter | Description |
access_token | The scope enhancement token that can be used to append additional scopes to a refresh token. |
token_type | Indicates the type of token that is generated. |
expires_in | Indicates the time (seconds) in which the scope enhancement token expires. |
Response example
Copied
Error codes
Error | Reasons |
invalid_client |
|
invalid_client_secret |
|
invalid_code |
|
400 Bad request |
|