Update automation contact properties
Endpoint: v1/automation/contacts/{email}
Update a contact’s properties using deep merge with null deletion. Properties can be used in workflow conditions and email personalization.
Merge Behavior:
- Omitted fields: Preserved unchanged in existing properties
- Fields with values: Updated or added to properties
- Fields set to
null: Explicitly deleted from properties - Nested objects: Recursively merged (NOT replaced entirely)
- Arrays: Replaced entirely (NOT merged element-wise)
Unsubscribe Management:
To manage subscriptions, include {{ unsubscribe_url }} in your email templates. When a contact clicks this link, they will be automatically unsubscribed from the workflow. Subscription status cannot be managed via this endpoint.
Note: Contact must exist before updating. Send an event first to create the contact.
Authorizations
API key with format "Bearer {your-api-key}"
Path Parameters
Contact's email address
Body
Contact properties to merge (key-value pairs, set to null to delete)
Response
Contact successfully updated