Zoho CRM How to create records with API V2 using cURL & PHP
ฝัง
- เผยแพร่เมื่อ 8 ก.ค. 2020
- #zoho #zohocrm #postman #api
In this video you will learn how to insert a lead in to Zoho CRM using its Rest API V2 by cURL & PHP
Find me on:
==================================
👉 Facebook: / robizshow
👉 Twitter: / robicse11127
👉 Linkedin: / md-rabiul-islam-robi-2... - วิทยาศาสตร์และเทคโนโลยี
I'd like to say a great thank you. This video was of better use that the official documentation and reaching out to Zoho's customer service, email and chat. I'm thinking of making a TH-cam video of taking this and fusing it with a traditional PHP contact form and have the files downloadable from my website. Anyone who would be interested like this comment or leave a comment/reply.
Thanks for this info! I was confused with the SDK and needed a quick solution.
Thanks for this video with great content. It helps me a lot
thank you very much it worked perfectly for me
Thanks you! great video
help a lot. Greate stuff
Thanks a lot!
That's awesome bro
Thank you so much
this video very helpful for me
Nice explation
спасибо!
What kind of client would you use for an automated batch process? With the Self Client you generate the code by hand, but that requires a human. I tried the other clients (with Postman), but they pop-up a browser-based user confirmation which is not practical either. Of course, once the code is obtained, getting the token is easy.
can u please make a video on using ZOHO PHP SDK for creating leads through form?
Can i get these all code files ?
What's the exact resource you referenced in order to do this?
When I try execute last script I receive massage:
"Authentication failed"
but the access token does expire after 1 hour, and no one puts up real world use case where when you put a request in and it has expired....how to get another access token.
Since the access token expires after 60 minutes you have to use the refresh token generated earlier in the process to *refresh* or create new access tokens indefinitely since refresh tokens have no time limit.
I did this in my projects.
{"code":"AUTHENTICATION_FAILURE","details":{},"message":"Authentication failed","status":"error"}
getting this error while inserting or getting the leads
Got it..i didn't gave a space
Hi, I've used your code to get an access token but when i try to add a record while using your code i get an error from the API "expected_data_type":"jsonarray" Error. I guess its coming from the json_encode function not returning what we want ??
it's because the field type is expecting data in JSON format, try adding JSON encoded array
Hi,
I have a doubt. REST API is being used over here and according to Zoho's current structure, we can only generate 5 access tokens / minute for every refresh token, how can we have Token Persistence in case of REST APIs?
Thanks for your help
u can send another request to get the access token and the refresh token, refresh token never expires so you can use that to acquire a new access token
Does the access token you receive from using the refresh token ever expire? For example I could get that using postman and just store it in env file and I don’t have to make the auth requests every time I want to insert a new record from my website?
HI, Do you have files for this. Appreciate it if you could share it. Thank you by the way
how it work fine
?
I have used your code but I am only able to do to access token but after that ...when insert data it will not work ..it will produce an error like object(stdClass)#1 (4) { ["code"]=> string(22) "AUTHENTICATION_FAILURE" ["details"]=> object(stdClass)#2 (0) { } ["message"]=> string(21) "Authentication failed" ["status"]=> string(5) "error" }
That's because Zoho API access token expires after 3600 seconds. You need to renew access token after every 3600 seconds
@@harryjames6713 that's not it. I get the same error thrown even if I try to insert a record right away. Is there a way to get a permanent access token though?
yes i face the same issue when using insert record page
Thank you for this video, it helps me a lot.
Do you know how to create the token through the php sdk?
I mean the code that has a duration of 10 minutes, I would like to automate that process.
Thanks
Hola Juan David, ya pudiste conectarlo?, que pena ando en las mismas con el php-sdk y no he sido capaz :(
How do I insert img in feild ?
its showing me "{\"error\":\"invalid_code\"}" in refresh token code despite mentioning everything right
the code gets expired for every 10 mins. try to generate another fresh code and try.
provide all this code on github