Looking for some help and guidance please with regards to developing an API from our own platform registrations directly into hubspot contacts
Supporting API documentation: (https://developers.hubspot.com/docs/methods/forms/submit_form?utm_source=hs_email&utm_medium=email&_hsenc=p2ANqtz-_jtlziGA1NIQybCnDNqXSUYHtQGdpM_oXbFWHYUMvgZX3rAPn62vQEqGBP5bbu2DDGhSLmX4m14IKNE-JJ300pp1o9mQ&_hsmi=60491770)
The documentation outlines PHP code that requires a single source URL for the form input;
'pageUrl' => 'http://www.example.com/form-page', <===== here
'pageName' => 'Example Title'
$hs_context_json = json_encode($hs_context);
//Need to populate these variable with values from the form.
$str_post = "firstname=" . urlencode($firstname)
. "&lastname=" . urlencode($lastname) . "&email=" . urlencode($email) . "&phone=" . urlencode($phonenumber) . "&company=" . urlencode($company) . "&hs_context=" . urlencode($hs_context_json); //Leave this one be
Our current user profile information spans a few URL's. Will we be able to use more than one URL form source per contact API?
Would we need to implement a secondary form for additional information?
If I understand correctly, we would target a form GUID in our hubspot account specifically for this function and then use that form within hubspot to extract what we need?