Export contacts

Exports contacts as JSON or CSV, returning the serialized data and a count of exported records.

POST
/v1/contacts/export

Exports contacts as JSON or CSV, returning the serialized data and a count of exported records.

x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

ids?array<>|null
format?|null
filters?|null
fields?array<string>|null

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/contacts/export" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": "string",  "format": "json",  "count": 0}