Skip to content
Advertisement

Add record in ZOHO API

I am trying to add a record (contact) to the ZOHO database using their API after submitting an order.

This requires an authorization token with a validity of 60 minutes which I can generate with a grant token, but which I can only generate with user interaction (GET). Is there a way to get a grant token without user interaction?

Maybe I’m just stupid, but why does adding a record to my ZOHO database require interaction from the user who orders my product.

Advertisement

Answer

Maybe I’m just stupid, but why does adding a record to my ZOHO database require interaction from the user who orders my product.

No, ZOHO requires a token from a third-party resource (your site, application, etc.). Since all records are stored and processed on ZOHO servers, access to it must be controlled.

ZOHOs give a SDK, what help refresh token automatically. Maybe this and this help you

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement