curl --request POST \
--url https://api.hubapi.com/contacts/v1/contact/email/{email}/profile \
--header 'Content-Type: application/json' \
--data '
{
"properties": [
{
"property": "<string>",
"value": "<string>"
}
]
}
'{
"properties": [
{
"property": "firstname",
"value": "Updated"
},
{
"property": "lastname",
"value": "Record"
},
{
"property": "website",
"value": ""
},
{
"property": "lifecyclestage",
"value": "customer"
}
]
}This endpoint allows you to update an existing contact in HubSpot, identified by email.
Use case for this endpoint: Because this method allows you to update contact properties, it could be used by an integration to synchronize contact data from an external CRM by email address.
Note: This endpoint will return a 404 if there is no existing record with the specified email address. If you’re looking to automatically create or update contacts using an email address, you can use this endpoint.
There are some properties that are worth noting in terms of updating a contact:
curl --request POST \
--url https://api.hubapi.com/contacts/v1/contact/email/{email}/profile \
--header 'Content-Type: application/json' \
--data '
{
"properties": [
{
"property": "<string>",
"value": "<string>"
}
]
}
'{
"properties": [
{
"property": "firstname",
"value": "Updated"
},
{
"property": "lastname",
"value": "Record"
},
{
"property": "website",
"value": ""
},
{
"property": "lifecyclestage",
"value": "customer"
}
]
}Scope requirements
The email address of the record that you want to update.
List of contact properties to update.
Show child attributes
Successful response - This endpoint allows you to update an existing contact in HubSpot, identified by email
The response is of type object.