Create or update contacts in bulk
/contacts/batchUp to 1,000 contacts, matched by email. Each item succeeds or fails on its own.
Authorization
apiKey A project API key: Authorization: Bearer s0_…
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/contacts/batch" \ -H "Content-Type: application/json" \ -d '{ "contacts": [ { "email": "string" } ] }'{ "object": "list", "data": [ { "id": "string", "email": "string", "created": true } ]}Create a contact POST
Creates a contact (409 when the address exists; use `POST /contacts/batch` to upsert). Resend `segments` and `audience_id` add it to private lists, `topics` set public list preferences, `lists` sets any list. Counts against the plan’s contact limit.
Export contacts as CSV GET
Streams every contact (or a list’s members, or a segment’s matches) as CSV with one column per property.