Skip to main content
POST
Upsert contacts

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"

Body

application/json
contacts
object[]
required

1-1000 people, matched by email (case-insensitive). The request body is limited to 1 MB.

Required array length: 1 - 1000 elements
mode
enum<string>
default:fill_empty

What to do with a person who already exists: fill_empty fills only their empty fields, overwrite replaces fields with the values you send, skip leaves them as they are. In both fill_empty and overwrite the tags you send are added to the person's tags: an upsert never removes a tag (PATCH replaces them). A missing or empty value never erases a field.

Available options:
fill_empty,
overwrite,
skip

Response

summary
object
required
results
object[]
required

Each valid email once, in request order.

invalidRows
object[]
required