Contacts

Messages, runs, signals and tasks for a contact, merged and ordered

GET
/v1/contacts/{id}/timeline

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*array<||>
meta*
curl -X GET 'http://localhost:8080/v1/contacts/string/timeline'
{  "success": true,  "data": [    {      "kind": "message",      "at": "2019-08-24T14:15:22Z",      "item": {        "id": "string",        "projectId": "string",        "contactId": "string",        "senderId": "string",        "runId": "string",        "channel": "string",        "direction": "out",        "fromAddress": "string",        "toAddress": "string",        "subject": "string",        "body": "string",        "status": "string",        "provider": "string",        "providerId": "string",        "threadRef": "string",        "messageId": "string",        "occurredAt": "2019-08-24T14:15:22Z"      }    }  ],  "meta": {    "request_id": "string"  }}