Description Usage Arguments Value
View source: R/refresh_token.R
Access tokens expire in an hour. Client applications must make the following request and use their user's refresh token to generate another access token
1 | refresh_token(base_url, refresh_token, client_id, client_secret)
|
base_url |
A url. [The base URL of your Zoho Account](https://accounts.zoho.com/oauth/serverinfo) For example, it's accounts.zoho.com if your account belongs to Zoho's US DC. |
refresh_token |
The refresh token that belongs to the requesting user,
which is returned when the access_type=offline is included in the query string
of the authorization request (this is the output of |
client_id |
A string. The client credentials that were generated when you registered the [client application](https://www.zoho.com/creator/help/api/v2/register-client.html) @param client_secret A string. The client credentials that were generated when you registered the [client application](https://www.zoho.com/creator/help/api/v2/register-client.html) |
a new access_token
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.