Skip to content
Letterhead Letterhead Letterhead Help Center
Admin Tools

Update a contact

PUT
/api/v3/contacts/{email}
curl --request PUT \
--url https://api.tryletterhead.com/api/v3/contacts/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "firstName": "Avery", "lastName": "Chen", "tags": [ "engaged-readers", "the-north" ], "customFields": { "favoriteColor": "blue", "lifetimeValue": 250 } }'

Updates an existing company-level contact’s profile. The contact is identified by the {email} in the URL, so don’t send email in the request body: a contact addressed by its email address keeps that address. Where contacts without an email address are enabled for your account (early access), a non-empty email sent anyway is refused with 422, even when it is the contact’s own address. Otherwise it is ignored.

If you don’t yet know whether the contact exists, use Create or update a contact (POST /api/v3/contacts) instead — that endpoint upserts. This endpoint targets a contact that already exists.

Custom fields

Pass a customFields object to set values on the contact’s custom fields. Each key is the name of a custom field you’ve defined for your company, and the value is coerced to that field’s configured type (text, number, boolean, or date).

{
  "customFields": {
    "favoriteColor": "blue",
    "lifetimeValue": 250
  }
}

Notes:

  • Each key must match a custom field that already exists for your company. Unknown field names are rejected.
  • Keys beginning with __lh. are reserved for Letterhead’s system-managed fields and cannot be set.
email
required
string

The contact’s email address, URL-encoded.

Media type application/json
object
firstName

The contact’s first name.

string
lastName

The contact’s last name.

string
tags

Tags to set on the contact.

Array<string>
customFields

Values for your company’s custom fields, keyed by field name. See below.

object
favoriteColor
string
lifetimeValue
integer
channel

A channel slug. Scopes the tag-change trigger for tags this update adds; omit for a company-wide edit.

string
Example
{
"firstName": "Avery",
"lastName": "Chen",
"tags": [
"engaged-readers",
"the-north"
],
"customFields": {
"favoriteColor": "blue",
"lifetimeValue": 250
}
}

200 OK. Returns the updated contact — same shape as GET /api/v3/contacts/{email}.

Media type application/json
object
items

The updated contact. Full field list under GET /api/v3/contacts/{email}.

object
message
string
total
integer
Example
{
"items": {
"email": "[email protected]",
"firstName": "Avery",
"lastName": "Chen",
"tags": [
"engaged-readers",
"the-north"
],
"customFields": {
"favoriteColor": "blue",
"lifetimeValue": 250
},
"updatedAt": "2026-08-30T15:01:21+00:00"
},
"message": "Contact updated.",
"total": 1
}

Still can’t find what you need? Contact support.