API

Update contact custom fields

Sets custom field values on a single contact, replacing any existing value. The custom fields must already exist in the workspace.

PATCH/contacts/{contactId}/custom-fields

Authorization

apiKey contacts:read-write
x-api-key<token>

In: header

Scope: contacts:read-write

Path Parameters

contactId*string

Header Parameters

X-Api-Version?string

API version date. Requests without the header use 2026-07.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

customFields*

Values keyed by each custom field's data name. A value replaces whatever the contact had for that field; null (or []) clears it. Multiselect, user and product fields take an array, which replaces the whole set. Fields not listed are left unchanged.

curl -X PATCH "https://example.com/contacts/string/custom-fields" \  -H "X-Api-Version: 2026-07" \  -H "Content-Type: application/json" \  -d '{    "customFields": {      "verification_code": "482913",      "dob": "1991-12-06"    }  }'
Empty
{  "traceId": "string",  "message": "string",  "path": "string",  "timestamp": "string",  "statusCode": 0.1}
{  "traceId": "string",  "message": "string",  "path": "string",  "timestamp": "string",  "statusCode": 0.1}
{  "traceId": "string",  "message": "string",  "path": "string",  "timestamp": "string",  "statusCode": 0.1}