Skip to main content

Upsert a contact identity

PUT 

/v1/contacts/:contact_id/identities

Adds or links a phone/email/external_id identity for the contact. Identities dedup within the account on (type, value), not on contact_id, so three outcomes are possible: 201 when a new row is created and linked to this contact, 200 when the value is already linked to this contact, and 409 when the value already belongs to a DIFFERENT contact in the account (no_auto_merge — the row is not relinked; the caller decides whether to merge contacts or use a different value). Re-adding a previously deleted value revives the same identity row (200), preserving any consent recorded against it.

Permissions - contacts.write. API keys - manage.

Request​

Responses​

The value was already linked to this contact