Access Token Expiry

Once the access token expires, the client uses the refresh token to generate another access token with the same scope.

  • URI Endpoint:¬†https://accounts.zoho.com/oauth/v2/token
  • HTTP Request Type: POST
  • Mandatory Parameters:
    • client_id - Obtained from registering your client at the Zoho Accounts developer console.
    • grant_type - Value must be 'refresh_token'.
    • client_secret - Obtained from registering your application at the Zoho Accounts developer console.
    • Authorized Redirect URI - The URI endpoint that Zoho Accounts will redirect the web browser to. This must be the same as the URI specified in the authorization request.
    • Refresh Token - A refresh token is used to obtain a new access token after the old one expires.

Sample HTTP Request


				https://accounts.zoho.com/oauth/v2/token?
client_id=1000.GMB0YULZHJK411248S8I5GZ4CHUEX0&
grant_type=refresh_token&
client_secret=122c324d3496d5d777ceeebc129470715fbb856b7&
refresh_token=1000.18e983526f0ca8575ea9c53b0cd5bb58.1bd83a6f2e22c3a7e1309d96ae439cc1			

Sample JSON Response


				{
    "access_token":"1000.2deaf8d0c268e3c85daa2a013a843b10.703adef2bb337b 8ca36cfc5d7b83cf24",
    "expires_in_sec":3600,
    "api_domain":"https://api.zoho.com",
    "token_type":"Bearer",
    "expires_in":360000
}