curl --request POST \
--url https://api.hubapi.com/contacts/v1/contact/createOrUpdate/email/{contact_email} \
--header 'Content-Type: application/json' \
--data '
{
"properties": [
{
"property": "<string>",
"value": "<string>"
}
]
}
'{
"vid": 3234574,
"isNew": false
}The create or update a contact endpoint is used to create a new HubSpot contact or update an existing one. Use case for this endpoint: This method is useful when syncing changes to contacts in other CRMs with your HubSpot contacts.
curl --request POST \
--url https://api.hubapi.com/contacts/v1/contact/createOrUpdate/email/{contact_email} \
--header 'Content-Type: application/json' \
--data '
{
"properties": [
{
"property": "<string>",
"value": "<string>"
}
]
}
'{
"vid": 3234574,
"isNew": false
}Documentation Index
Fetch the complete documentation index at: https://developers.hubspot.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Scope requirements
The email address of the contact to create or update.
List of contact properties for the new contact.
Show child attributes
Successful response - The create or update a contact endpoint is used to create a new HubSpot contact or update an existing one
The response is of type object.
Was this page helpful?