How do we apply a contact property to an existing contact

New Member

Looking for assistance on how to apply a contact property to an existing contact via the API. Thanks in advance!

Reply
0 Upvotes
1 Reply 1
HubSpot Moderator

Hi @smsworkflow

We have an API endpoint that can update an existing contact record by email address, so you could use this to update existing records. In the case where there is no record with that email, this would instead create a new record:

Create or update a contact

POST /contacts/v1/contact/createOrUpdate/email/:contact_email - Create a contact if it doesn't exist in a portal already, or update it with the latest property values if it does.

Reply
0 Upvotes