ZOHO

Get Access Token With The Use Of Refresh Token Using Zoho Deluge

In this tutorial, we are going to learn to get an access token using a refresh token using the deluge
Access Token will expire in an Hour.

So If you need to get data through an access token we need to create an access token dynamically from the refresh token

Here In this tutorial, I am going to show the example of getting an access token using the Refresh Token.

Structure Example:

token = invokeurl [
              url :"https://accounts.zoho.com/oauth/v2/token? 
              refresh_token=1000.XXXXXXXXXXXXXXX.XXXXXXXXXXXXXXX&client_id=1000.XXXXXXXXXXXXXXX&client_secret=XXXXXXXXXXXXXXXXXXX&grant_type=refresh_token" 
              type :POST 
         ]; 
info token;

In token variable, You will get access_token, api_domain, token_type, and expires_in

From that, you need to get access_token.

 

access_token = token.get('access_token'); 
info access_token;

Here, You have got access_token.

 

To create an application for the Client ID, Client Secret please follow Access token from refresh token.

Selina Parmar

I am a senior WordPress Developer at Vision Infotech. I have expertise in Web Designing and Development with PHP WordPress. I have enough skills in HTML, CSS, Bootstrap, JavaScript, jQuery, SQL, Web API. Also additionally I can do integration of the Zoho Platform using deluge code.

Share
Published by
Selina Parmar

Recent Posts

Testing hk

Testing

2 years ago

Create and Used PIPE in angular

In this article, we have to show Create and Used PIPE in angular

2 years ago

Operation

Testing

2 years ago

Create and Used PIPE in angular

In this article, we have to show Create and Used PIPE in angular

2 years ago

Create and Used PIPE in angular

In this article, we have to show Create and Used PIPE in angular

2 years ago

TETS NEW

test

3 years ago