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

preview_player
Показать описание
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.
Рекомендации по теме
Комментарии
Автор







If you have any questions/comments regarding Zoho API, please let us know in the comments.

simongondeck
Автор

I was had by that 60 seconds limit, was so frustrated and then saw your vid. Appreciate it!!

grahamevans
Автор

Thanks for the help 4 years later! Also- I'm listening to Mac Miller @ 7:24 !!!!

Castilleni
Автор

Even after 4 years this video was still very helpful to me to get the Zoho API integration working. Thanks!

cosmacgrandpa
Автор

Even though I am watching this after 2 years, It's still relevant and was really helpful. Thank you Simon.

geoffrygeorgemathew
Автор

This was a lifesaver! I was able to leverage the info in your video to FINALLY be able to make calls in Python through the SDK.

Tacomatte
Автор

You just saved my ass, I found myself having a hard time trying to connect and make my apis requests, thank you my man.

giullianopinheiro
Автор

You just saved me hours of agony. Thank you so much!

TerryBlanc-yb
Автор

Very cool! I've been scratching my head all day

codewithnacho
Автор

Dude thank you so much for this video.

Bjj-pqmz
Автор

Thanks mate! great job explaining each and everything in detail.

rohitshrivastava
Автор

Good stuff. It's been a headache 😅

mmathems
Автор

Could you make a video on how to setup API integration to POST data from a ZOHO form to an external service or web service? Glad if you could make it as basic as possible using a simple typical example and provide the text. Won't mind paying for it though

pauladeleke
Автор

Very good video describing the different stages of installation.
You propose make as another solution: what are the benefits of going through this intermediary tool?
Does it simplify the implementation by avoiding copying fields, password etcetera
Thanks for your precisions

mixxit
Автор

Instead of just using the client_id and the client_secret, OMFG !!!!

AlexandrosFotiadis
Автор

Nice video, do you have a video on how to send file directly to zoho? using postman

norhassansarip
Автор

Great video, but what a convoluted process for something that should be simple. makes me want to switch to any platform that is not Zoho...

JT-Works
Автор

i am getting zoho signin
and accept, but after that when i am trying in postman it wast showing invalid client

adheeshkv
Автор

Greetings... instead of passing the access token, should I just add the refresh token? or is there a way to set the access tokens expire minutes?

raynellbell
Автор

how can I grant refresh token and connect the system account with moodle 4.4?

Thanks

agentvxriety
welcome to shbcf.ru