Loading...

Step 4: Refresh Access Token

Request Execution

When an access_token expires, you must use the refresh_token to generate a new access_token for your application.

To do so, send a POST request to the following URL with the params given below:

https://accounts.zoho.com/oauth/v2/token?


Note: You must access the respective domains for the other data centers:

  • EU: https://accounts.zoho.eu/
  • AU: https://accounts.zoho.au/
  • IN: https://accounts.zoho.in/
  • CA: https://accounts.zohocloud.ca/
  • JP: https://accounts.zohocloud.jp/
  • SA: https://accounts.zohocloud.sa/

Parameter Description
refresh_token* The refresh_token obtained in the previous step
client_id* The Client ID that was generated during the client registration
client_secret* The Client Secret that was generated during the client registration
grant_type* refresh_token (Provide this literal string as the value)
redirect_uri* One of the Authorized Redirect URIs you provided while registering the client in the previous step. You must not provide an unregistered redirect URI.
Note: Fields marked with * are mandatory.

Sample Response
copy
{
    "access_token": "{new_access_token}",
    "expires_in": 3600,
    "api_domain": "https://www.zohoapis.com",
    "token_type": "Bearer"
}