filmov
tv
How to get Zoho API access and refresh token (Zoho Developer Console)

Показать описание
In this video, we go over how to set up an account with the Zoho API developer console, get API keys, access, and authentication tokens, and common GET and POST requests.
1) Create Client Name in Zoho Developer Console
Sign into Zoho. Next, go to the Zoho Developer Console and create a new client. Select ‘Server-Based Applications’ and fill out the rest of the fields:
-Client Type: Served-Based Applications
-Client Name: sgwptest (add any name you would like)
Before proceeding to make your authorization request, make sure that you have the Postman API client downloaded and open. Zoho provides a short-timed grant code that expires after a minute so super important to have Postman ready to go.
2) Send Authorization Request
Using your client ID, client secret, and redirect URI, send an authorization request in your web browser to Zoho Campaigns.
Here is a sample url below that you can replace with your values:
Approve your request and Copy the grant code in your web browser.
3) Get Access Token and Refresh Token
Open up Postman and enter in the following URL (edit your parameters for code, client ID, client secret, and redirect Uri. Here is an example:
You will be provided your access token, refresh token, etc.
4) Use Access Token to make your first POST request
5) Test with sample POST request to subscribe someone to mailing list
Params:
resfmt: JSON
listkey: 58c3908e47768243dbc9a9dbcf4d1bb07461b395c6e88487
Headers:
-Authorization: Zoho-oauthtoken {insert code}
-Content-Type: application/x-www-form-urlencoded
I would recommend using a test email of yours. If successful, you will see a message like this:
{
"code": "0",
"message": "A confirmation email is sent to the user. User needs to confirm to successfully subscribe.",
"version": "1.1",
"uri": "/api/v1.1/json/listsubscribe",
"status": "success"
}
#ZohoAPI
-- FAVORITE WORDPRESS HOSTING --
-- DESK SETUP --
DISCLOSURE: We often review or link to products & services we regularly use and think you might find helpful. Wherever possible we use referral links, which means if you click one of the links in this video or description and make a purchase we may receive a small commission or other compensation.
1) Create Client Name in Zoho Developer Console
Sign into Zoho. Next, go to the Zoho Developer Console and create a new client. Select ‘Server-Based Applications’ and fill out the rest of the fields:
-Client Type: Served-Based Applications
-Client Name: sgwptest (add any name you would like)
Before proceeding to make your authorization request, make sure that you have the Postman API client downloaded and open. Zoho provides a short-timed grant code that expires after a minute so super important to have Postman ready to go.
2) Send Authorization Request
Using your client ID, client secret, and redirect URI, send an authorization request in your web browser to Zoho Campaigns.
Here is a sample url below that you can replace with your values:
Approve your request and Copy the grant code in your web browser.
3) Get Access Token and Refresh Token
Open up Postman and enter in the following URL (edit your parameters for code, client ID, client secret, and redirect Uri. Here is an example:
You will be provided your access token, refresh token, etc.
4) Use Access Token to make your first POST request
5) Test with sample POST request to subscribe someone to mailing list
Params:
resfmt: JSON
listkey: 58c3908e47768243dbc9a9dbcf4d1bb07461b395c6e88487
Headers:
-Authorization: Zoho-oauthtoken {insert code}
-Content-Type: application/x-www-form-urlencoded
I would recommend using a test email of yours. If successful, you will see a message like this:
{
"code": "0",
"message": "A confirmation email is sent to the user. User needs to confirm to successfully subscribe.",
"version": "1.1",
"uri": "/api/v1.1/json/listsubscribe",
"status": "success"
}
#ZohoAPI
-- FAVORITE WORDPRESS HOSTING --
-- DESK SETUP --
DISCLOSURE: We often review or link to products & services we regularly use and think you might find helpful. Wherever possible we use referral links, which means if you click one of the links in this video or description and make a purchase we may receive a small commission or other compensation.
Комментарии