I want to use this form data endpoint to add the users’ email to my Hubspot but it returns 404, resource not found.
Please help look into this:
Request URL:
https://api.hsforms.com/submissions/v3/integration/submit/formId/portalId
Request Method:
POST
Status Code:
404
@Treasurechic
Just to confirm, you are also using a valid form id and portal id in that call. Also are you sending a json body?
Sorry for the late response, had to confirm the portalId and formId from the person who have access to it. Yes, the portalId and formId is correct and I am sending a json body
{
fields: [
{
objectTypeId: '1',
name: 'email',
value: email
}
]
}
@Treasurechic ,
I just noticed that your portal id and form id are backwards in the URL. Should look like this:
Oh, yes. This was the mistake all along. It works now, thank you 