Contacts

Upsert up to 500 contacts

POST
/v1/contacts:batch

Authorization

projectKey
headerAuthorizationBearer <token>

A project API key (sk_live_…) with read, enroll or admin scope.

Request Body

application/json
  1. body
contacts*array<>
Items1 <= items <= 500

Response Body

Default Response

application/json
  1. response
success*true
Value intrue
data*array<>
meta*
curl -X POST 'http://localhost:8080/v1/contacts:batch' \  -H 'Content-Type: application/json' \  -d '{  "contacts": [    {      "external_id": "string"    }  ]}'
{  "success": true,  "data": [    {      "id": "string",      "projectId": "string",      "externalId": "string",      "firstName": "string",      "lastName": "string",      "email": "string",      "phone": "string",      "linkedinUrl": "string",      "country": "string",      "timezone": "string",      "outreachConsent": true,      "outreachConsentAt": "2019-08-24T14:15:22Z",      "outreachConsentSource": "string",      "smsConsent": true,      "smsConsentAt": "2019-08-24T14:15:22Z",      "smsConsentSource": "string",      "attrs": {        "property1": null,        "property2": null      },      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ],  "meta": {    "request_id": "string"  }}