Using POST to Create or Update a contact from Zoho
I have been trying to to create a POST from Zoho to HubSpot using the information available here. I have not been able to get it to work for me.
I need to move leads recorded in Zoho to be moved to Hubspot as a contact, if the contact is already there then the information on the contact needs to be updated using the info sent by zoho.
The “my-email-address” part above is one thing I can think of is going wrong, so as a trial I sent my own contact (lead on zoho) to hubspot, receive the following error on Zoho “HTTP Response - 400”. I know that I can use Zapier, but that has a delay.
On “Webhooks Failures” on Zoho I see that it says “HTTP Response - 400”, that is all the information Zoho gives for POST.
Can anyone please let me know what I need to do so that the POST from Zoho to HubSpot works correctly?
Attached is a screenshot of the fields I have in Zoho.
Using POST to Create or Update a contact from Zoho
Unfortunately there is no alternate way to use this endpoint. Zapier has a direct connection to Hubspot which you could use instead, or you would have to use/create some middleware that can pass in JSON instead of the webhook you currently have.
Using POST to Create or Update a contact from Zoho
Ah, so I think your problem is not the email address, but instead that this endpoint (and most of our other endpoints) require the contact data to be passed in as JSON, not URL encoded.
If you look at the example in the documentation you’ll see the contact fields are being passed in as a JSON block rather than in the request URL.
Using POST to Create or Update a contact from Zoho
Can you share the exact URL you are using with your email address included? (and although it doesn’t make sense to share the hapi key here, do make sure it is correct as that could result in a bad request 400 error as well).