POST /v1/contacts for up to 1,000 rows per call — the way to sync a CRM. Needs the contacts:write permission.
- Each row is one request body of
POST /v1/contacts(external_id,email,phone, names,source,tags/add_tags/remove_tags,custom_fields) with the same rules:external_iddecides which contact is updated, then email, then phone. - Rows are applied each on its own, a few at a time. A row that fails does not stop the others, and rows already applied stay applied. Rows that name the same
external_id, email or phone are applied one after the other, in request order: the second updates what the first created. Results come back in request order. - The answer is
200with one result per row,indexbeing the row’s position incontacts. - More than 1,000 rows:
422 limit_exceeded, nothing is applied. The call counts as one request against the rate limit. - Each created or changed contact fires its own
contact.created/contact.updatedwebhook.
With an
Idempotency-Key, a repeat of the same call returns the stored answer — including the rows that failed. To try failed rows again, send just those rows with a new key.Request
1 to 1,000 rows, each a
POST /v1/contacts body.Response
Only for
failed: the error envelope the single request would have answered — validation_error, validation_failed, conflict (an address or external_id that belongs to another contact) — see Error codes. internal_error means the row failed on our side; send it again.