Can I generate a Zoho Access token using ClientCredentials flow?
I have a "Cron Job" that runs every hour. It will update 1 (to many) Zoho CRM 'accounts'.
To do this, I need to use an access token in the 'Authentication' header. Now I can
manually do this via the "api console" (
https://api-console.zoho.com/) and
manually generate a 10 minute token via that UI.
But this won't work if I have a background process running every hour.
That "Self Client" in that api-console does have the Client Id and Client Secret though! So I thought I could do this:
which i thought was a tricky way to use the "client_credentials" oAuth flow.
When i tried this, I just got an error saying "missing_org_info" or something.
So is this possible? Otherwise, how do people have background jobs running and using the Zoho api?
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.