Python
Contacts
Update Contact by ID
Update an existing contact using their ID
PUT
Python
When to Use This
How It Works
- Only provided fields are updated — omitted fields are preserved
- Custom fields are deep merged — existing custom fields not included in the request are kept
- Automations are triggered — field change detection and automation triggers work the same as upsert
- Soft-deleted contacts are restored — if the contact was deleted, it will be restored with the provided data
Marketing Consent
Update channel-specific marketing consent for a contact:Both fields are optional. Omitting a channel leaves its current consent status unchanged. Setting
true opts the
contact in, false opts them out.Example: Change a Contact’s Email
1
Look up the contact by email
{ "data": { "id": 42, "email": "old@example.com", ... } }2
Update using the contact ID
Common Errors
Related Endpoints
- Get Contact by Email: Look up a contact’s ID by email
- Create or Update Contact: Upsert by email or phone
- Delete Contact: Soft-delete a contact
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Contact ID
Body
application/json
New email address
New phone number
Contact status
Contact source tag
Contact source type classification
Available options:
database, minimo, third_party Custom fields to update (merged with existing)
Channel-specific marketing consent preferences
Response
Contact updated