Step 4: Generate Access Token From Refresh Token
Access tokens have limited validity, typically expiring within one hour. While valid, the access_token offers unlimited usage. Once it expires, your application needs to use the refresh_token to request a new one.
Use the following POST request with the specified parameters to obtain a new access_token :
https://accounts.zoho.com/oauth/v2/token?
Parameter | Description |
---|---|
refresh_token * | refresh_token obtained in the previous step |
client_id * | client_id obtained during Client Registration |
client_secret * | client_secret obtained during Client Registration |
redirect_uri * | This parameter should be same redirect_url used while registering the client |
grant_type * | refresh_token |
Copiedhttps://accounts.zoho.com/oauth/v2/token?refresh_token=1000.8ecdxxxxxxxxxxxxxxxxxxxxx5cb7.4638xxxxxxxxxxxxxxxxxxxxxxebdc&client_id=1000.0SRSxxxxxxxxxxxxxxxxxxxx239V&client_secret=fb01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8abf&redirect_uri=http://backstage.zoho.com/&grant_type=refresh_token