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.

Headers

Idempotency-Key
string

Optional. A unique key you generate (max 255 chars, such as a UUID) that makes this request safe to retry. Retrying with the same key replays the original response instead of repeating the operation. Reusing a key with a different body returns 422.

Maximum string length: 255
Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

Path Parameters

id
string<uuid>
required
Example:

"019a7c3e-5b21-7d40-9e1f-2a3b4c5d6e7f"

Body

application/json
version
integer
required

Version the edit is based on (from the contact); a newer one → 409 contact_version_conflict

Required range: x >= 0
firstName
string | null
Maximum string length: 128
lastName
string | null
Maximum string length: 128
companyName
string | null
Maximum string length: 256
jobTitle
string | null
Maximum string length: 128
website
string | null
Maximum string length: 512
linkedinProfile
string | null
Maximum string length: 512
location
string | null
Maximum string length: 128
tags
string[] | null
Maximum array length: 50
Required string length: 1 - 64
Example:
customFields
object | null

Custom fields by key ({{custom_<key>}} in templates). A key you send is set, a key you leave out is kept. On an update null or "" clears that key and customFields: null clears them all; on an upsert empty values are ignored and mode decides whether existing values change. A value of an image or url field must be an absolute http(s) URL.

customFieldLabels
object

Labels of NEW custom fields of the workspace (key → label), as the lead editor sends them. An existing field keeps its own label.

customFieldTypes
object

Types of NEW custom fields of the workspace (key → text | url | number | date | image). An existing field keeps its own type.

Response

id
string<uuid>
required
Example:

"019a7c3e-5b21-7d40-9e1f-2a3b4c5d6e7f"

email
string
required
tags
string[]
required
Example:
customFields
object
required
Example:
doNotContact
boolean
required

Unsubscribed, blocked or bounced. An unsubscribe or a bounce stops the campaign where it happened, a block (the workspace blocklist) stops every campaign; adding the person to a campaign from Contacts skips them.

inSequence
boolean
required

Some campaign still has emails to send this person.

verification
object
required
provider
string
required

Mailbox provider of the address.

Example:

"google"

emailsSent
number
required

Emails sent to the person across all campaigns.

Example:

3

campaigns
object[]
required

Campaigns the person is in, newest first.

version
number
required

Pass it back in PATCH; a newer version → 409 contact_version_conflict.

Example:

2

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
firstName
string | null
Example:

"Anna"

lastName
string | null
Example:

"Berg"

companyName
string | null
Example:

"Northwind"

jobTitle
string | null
Example:

"Head of Sales"

website
string | null
Example:

"northwind.io"

linkedinProfile
string | null
location
string | null
Example:

"Berlin"

status
enum<string> | null

blacklisted while the address or its domain is on the workspace blocklist; otherwise the furthest status of the person across their campaigns; null if they are in no campaign, or if every campaign row of theirs was blocked and the block was lifted later.

Available options:
not_contacted,
scheduled,
email_sent,
failed,
skipped,
lead_replied_interested,
lead_replied_meeting_request,
lead_replied_out_of_office,
lead_replied_bounce,
lead_replied_wrong_person,
lead_replied_not_interested,
lead_replied_unsubscribed,
lead_replied_uncategorized,
lead_converted,
lead_lost,
blacklisted,
null
repliedAt
string<date-time> | null