Contacts

A contact with suppressions and the active enrollment

GET
/v1/contacts/{id}

Authorization

projectKey
headerAuthorizationBearer <token>

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

Path Parameters

id*string
Length1 <= length <= 128

Response Body

Default Response

application/json
  1. response
success*true
Value intrue
data*
meta*
curl -X GET 'http://localhost:8080/v1/contacts/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",    "suppressions": [      {        "contactId": "string",        "channel": "email",        "reason": "string",        "createdAt": "2019-08-24T14:15:22Z"      }    ],    "enrollment": {      "id": "string",      "sequenceId": "string",      "versionId": "string",      "senderId": "string",      "status": "active",      "currentNodeId": "string"    }  },  "meta": {    "request_id": "string"  }}