Skip to main content
PATCH
Update a contact

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The ID of the contact

Example:

"01234567-89ab-cdef-0123-456789abcdef"

Body

application/json
first_name
string | null

First name, up to 100 characters and 256 bytes (UTF-8), or null when unset

Required string length: 1 - 100
Example:

"Jane"

last_name
string | null

Last name, up to 100 characters and 256 bytes (UTF-8), or null when unset

Required string length: 1 - 100
Example:

"Doe"

custom_attributes
object

Custom attributes to set, keyed by attribute name. Attributes not named are kept, and a null value removes that attribute. At most 250 attributes. Attribute names are at most 128 bytes (UTF-8) and text values at most 4,096 bytes. The whole contact record is capped at about 300 KB, so a contact cannot hold the maximum number of attributes at the maximum size.

Response

The updated Contact

A contact in the workspace: one email address with its consent, tags and custom attributes. Segments, and the broadcasts and journeys that target them, read contacts. Optional fields with no value are left out of responses. The contact list, contact imports and tags page with cursor: pass the previous page's next_cursor until there is none. A contact's emails page with starting_after and next_starting_after.

id
string<uuid>
required
read-only

Unique identifier for the contact

Example:

"01a21739-946c-72d9-9519-f01332021188"

workspace_id
string<uuid>
required
read-only

Workspace that owns the contact

Example:

"01a21739-946c-72d9-9519-f01404a9d005"

email
string
required
read-only

Canonical normalized email address

Example:

"subscriber@example.com"

first_name
null | string
required

First name, up to 100 characters and 256 bytes (UTF-8), or null when unset

Required string length: 1 - 100
Example:

"Jane"

last_name
null | string
required

Last name, up to 100 characters and 256 bytes (UTF-8), or null when unset

Required string length: 1 - 100
Example:

"Doe"

custom_attributes
object
required

Typed custom attributes keyed by attribute name. At most 250 attributes. Attribute names are at most 128 bytes (UTF-8) and text values at most 4,096 bytes. The whole contact record is capped at about 300 KB, so a contact cannot hold the maximum number of attributes at the maximum size.

tag_ids
string[]
required
read-only

IDs of the tags the contact has

group_ids
string[]
required
read-only

IDs of the legacy subscriber groups the contact belongs to

Current workspace-wide marketing consent status

Available options:
never_consented,
subscribed,
unsubscribed
Example:

"subscribed"

Timestamp of the last consent status transition

Example:

"2026-11-26T09:39:39.244Z"

Source of the current consent status

Available options:
event,
import,
api,
sync
Example:

"api"

delivery_status
enum<string>
required
read-only

Current email delivery eligibility status

Available options:
deliverable,
hard_bounced,
complained,
suppressed
Example:

"deliverable"

origin
enum<string>
required
read-only

Source that originally created the contact

Available options:
event,
import,
api,
sync
Example:

"api"

timestamp_created
string<date-time>
required
read-only

Timestamp when the contact was created

Example:

"2026-11-26T09:39:39.244Z"

timestamp_updated
null | string<date-time>
required
read-only

Timestamp when the contact was last updated, or null when never updated

Example:

"2026-11-26T09:39:39.244Z"