Importing data from external forms to hubspot objects

I have forms on external websites and i needed to track the data entered and to put it into objects and properties in hubspot. If it is possible, how can I do so?

Hey @Aly_Mourady you can use the HubSpot apis, just find the object you want to map to and use the “Create (object name)” endpoint to create a new object record.

However, if it’s contacts or companies I’d recomend sending your form submissions to HubSpot forms using the submit form api.

The difference between these is that if you submit the data through the submit form api, they’ll come in as form submissions within HubSpot. Meaning you can track cookies if you send them, use form segmentation and reporting within HubSpot.

If you just use the create object record api they won’t be form submissions, they’ll just be object records created via the api.

Moderator Note: this post was reviewed for relevancy and optimized for clarity on September 30, 2026. Thank you for your contributions to the HubSpot Community!

Hi @Aly_Mourady ,
The best option would be to use the HubSpot Forms API. You can refer to the official documentation here: Accounts Dashboard | HubSpot

Just make sure that your form fields use the same internal names as HubSpot properties (e.g., firstname, email, etc.) to ensure data maps correctly.

You can also check out some helpful community and Reddit discussions for practical insights:

Hello @Aly_Mourady have you solved this via API? otherwise there are some alternative solutions i have implemented via Clay and N8N

Hi @Aly_Mourady

“First thing I will suggest you figure out on which HubSpot object you want to send the Data, i.e., to Contacts, Companies, Deals, or Custom Objects.
Once you have figured this ou,t here are some options -
1. You can use the HubSpot API to send data to that particular object.
2. You can replace the LP form with the HubSpot form.
3. You can map a HubSpot form with a form in your LP.”

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.

Thanks!