Zoho CRM How to create records with API V2 using cURL & PHP

Поделиться
HTML-код
  • Опубликовано: 13 дек 2024

Комментарии • 42

  • @senju31
    @senju31 3 года назад +3

    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 RUclips 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.

  • @codewithnacho
    @codewithnacho 3 года назад

    Thanks for this info! I was confused with the SDK and needed a quick solution.

  • @deepikasrikanta7699
    @deepikasrikanta7699 3 года назад +2

    can u please make a video on using ZOHO PHP SDK for creating leads through form?

  • @diwakarsharma8468
    @diwakarsharma8468 2 года назад

    Thank you so much
    this video very helpful for me

  • @senju31
    @senju31 3 года назад +2

    What's the exact resource you referenced in order to do this?

  • @bhoomm7366
    @bhoomm7366 10 месяцев назад

    Nice explation

  • @gauravgarg7611
    @gauravgarg7611 3 года назад +3

    Can i get these all code files ?

  • @itechiean7777
    @itechiean7777 3 года назад

    Thanks for this video with great content. It helps me a lot

  • @admincosine3d504
    @admincosine3d504 3 года назад

    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.

  • @igormartyniuk
    @igormartyniuk 3 месяца назад

    Thank you so much!

  • @ViewMyBits
    @ViewMyBits 2 года назад +3

    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.

    • @senju31
      @senju31 2 года назад +1

      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.

    • @senju31
      @senju31 2 года назад +1

      I did this in my projects.

  • @nelsonrondon8405
    @nelsonrondon8405 4 года назад

    thank you very much it worked perfectly for me

  • @TheRadioactiveEngineer
    @TheRadioactiveEngineer 8 месяцев назад +2

    {"code":"AUTHENTICATION_FAILURE","details":{},"message":"Authentication failed","status":"error"}
    getting this error while inserting or getting the leads

  • @asmrtist9058
    @asmrtist9058 3 года назад

    Thanks you! great video

  • @svjazukr
    @svjazukr 3 года назад +2

    When I try execute last script I receive massage:
    "Authentication failed"

  • @rehanthewebbee
    @rehanthewebbee 3 года назад

    help a lot. Greate stuff

  • @pritikshirsagar3331
    @pritikshirsagar3331 4 года назад +2

    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" }

    • @harryjames6713
      @harryjames6713 3 года назад

      That's because Zoho API access token expires after 3600 seconds. You need to renew access token after every 3600 seconds

    • @asmrtist9058
      @asmrtist9058 3 года назад

      @@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?

    • @utpalpal8674
      @utpalpal8674 2 года назад

      yes i face the same issue when using insert record page

  • @rexthony
    @rexthony 4 года назад

    That's awesome bro

  • @TommyShelbey-n5r
    @TommyShelbey-n5r 2 дня назад

    sir php code share i descryption and php files in used packges command share in descryption please i am waiting

  • @abhishekmusic828
    @abhishekmusic828 4 года назад

    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

    • @militpanchasara5888
      @militpanchasara5888 4 года назад

      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

    • @jordcodes
      @jordcodes 4 года назад

      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?

  • @davidfineart500
    @davidfineart500 4 года назад

    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 ??

    • @vasuchhabra9584
      @vasuchhabra9584 4 года назад

      it's because the field type is expecting data in JSON format, try adding JSON encoded array

  • @VISHALKUMAR-tg9iq
    @VISHALKUMAR-tg9iq Год назад

    how it work fine
    ?

  • @jdalvarezp
    @jdalvarezp 4 года назад +1

    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

    • @hipolitopatinobeltran3225
      @hipolitopatinobeltran3225 4 года назад

      Hola Juan David, ya pudiste conectarlo?, que pena ando en las mismas con el php-sdk y no he sido capaz :(

  • @deogenesabejuela7016
    @deogenesabejuela7016 3 года назад

    HI, Do you have files for this. Appreciate it if you could share it. Thank you by the way

  • @Schauhan-cd3qx
    @Schauhan-cd3qx 3 года назад

    How do I insert img in feild ?

  • @siddharthmondal1515
    @siddharthmondal1515 2 года назад

    its showing me "{\"error\":\"invalid_code\"}" in refresh token code despite mentioning everything right

    • @roshanzaid765
      @roshanzaid765 2 года назад

      the code gets expired for every 10 mins. try to generate another fresh code and try.

  • @vasuchhabra9584
    @vasuchhabra9584 4 года назад

    Thanks a lot!

  • @wantstudy8030
    @wantstudy8030 3 года назад

    спасибо!

  • @sendy9096311791
    @sendy9096311791 2 года назад

    provide all this code on github