PUT
/
contacts
/
{id}

This endpoint can be used to update a single contact at a time by providing the contact ID. con_D6zCfeVDaAAT-b9dl9SIE is the contact ID in the example below.

Authorizations

Authorization
string
headerrequired

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

Path Parameters

id
string
required

The ID of the contact to update

Body

application/json
email
string
required

The email of the contact

name
string

The name of the contact

first_name
string

The first name of the contact

last_name
string

The last name of the contact

subscribed
boolean
default: true

Subscription status of the contact

custom_fields

Custom fields for the contact. Can be a key: value object or an array of objects. If the value is a date, it must be in ISO format or YYYY-MM-DD to be picked up correctly.

Response

200 - application/json
id
string

The contact ID

workspace_id
string

The workspace ID

name
string

The name of the contact

first_name
string

The first name of the contact

last_name
string

The last name of the contact

email
string

The email of the contact

subscribed
boolean

Subscription status of the contact

unsub_token
string

Unsubscribe token for the contact

custom_fields
object

Custom fields of the contact

createdAt
string

Creation timestamp of the contact

updatedAt
string

Last update timestamp of the contact