Tring to call A simple Zoho API that returns a photo, and hit a wall of confusion?

39 Views Asked by At

I can't believe this seems so complicated or I am simply not understanding what's going on.

Basically I want to call the below API to retrieve the Avatar/Photo assigned to an Account in Zoho.

https://www.zoho.com/crm/developer/docs/api/v6/download-image.html

I want to do this this from a server (.NET Core WebApi) application, from a webhook, upon receiving notification a new Account has been approved I would like to download the image to compliment the rest of the stored details.

With all the other API's I'm working with I register an application and get the client Id and secret, and configure them in the server and make the call.

However with Zoho, this get's confusing quickly as if I register a Self Client the token granted expires after 10 minutes! SO what do I do now?

I followed there instructions here to try to understand: https://www.zoho.com/crm/developer/docs/api/v3/api-collection.html However when I actually try to make any calls they seem to fail. enter image description here

In summary the question I guess is, what do I need to do to call a single Zoho Crm api reliably from another server based application, given the limit of 10 minute tokens!

I wanted to call one API and now I want to cry...

enter image description here

0

There are 0 best solutions below