We want to send data to a form on hubspot. How we can do that using PHP.
@TDwebdev can you help?
Hi NShiragave,
Did you check the docs?
https://legacydocs.hubspot.com/docs/methods/forms/submit_form
Example endpoint: POST https://api.hsforms.com/submissions/v3/integration/submit/:portalId/:formGuid
AUTH: bearer
JSON POST body:
{
"fields": \[
{
"objectTypeId": "0-1",
"name": "email",
"value": "example@example.com"
}
]
}