How to create a Hubspot contact list import from custom newsletter sign-up?



We are working on custom coding a pop-up that will ask our website visitors to signup for our newsletter. It will POST the data, either via the server or via AJAX.
Can someone please point me in the right direction of how to create a contact list that automatically import these email addresses?
Thanks in advance!


@ErikF Just POST the form data to HubSpot via the Forms API. (This has to be done server-side) Then you can just make a list of everyone who filled out that form if you want. HubSpot will automatically import all email address to a Contact for the form submission.


@pmanca Thanks, I appreciate the info and this is a great start!