Skip to main content

Contacts

People records: email (unique per user), optional names, phone, custom_fields JSON.

GET /v1/contacts

List contacts All contacts for the user. Optional query segment_id lists members of that segment (404 if segment missing).

Examples

200 — OK

cURL

POST /v1/contacts

Create contact Email is unique per user. Optional names, phone, custom_fields JSON.

Request body — Body

Examples

201 — Created

cURL

GET /v1/contacts/{id}

Get contact Fetch one contact.

Examples

200 — OK

cURL

PATCH /v1/contacts/{id}

Update contact status may be subscribed or unsubscribed.

Request body — Body

Examples

200 — OK

cURL

DELETE /v1/contacts/{id}

Delete contact Deletes the contact record.

Examples

200 — OK

cURL