How to add a new form on a landing page



I have a question :

Does anyone know how to capture an email address and send it to a Hubspot portal_id using a form guid using HTML ?

Thanks for your help,


Hi @jamesmark,

I'm not totally clear on your question, but it sounds like you want to write your own HTML form and then submit that data to a HubSpot portal?

If so, then you will define the form action to submit the data to the endpoint defined here: - note that you swap out the portal id and form guid in the endpoint (which you get from within the HubSpot app when you create a Form in the HS user interface). This endpoint works well with standard HTML elements. If you want to submit via AJAX, you would use this endpoint instead: