Tasks

A sender's tasks

GET
/v1/senders/{id}/tasks

Authorization

projectKey
headerAuthorizationBearer <token>

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

Path Parameters

id*string
Length1 <= length <= 128

Query Parameters

limit?integer
Range1 <= value <= 200
Default50
cursor?string
updated_since?unknown
status?string
kind?string

Response Body

Default Response

application/json
  1. response
success*true
Value intrue
data*array<>
meta*
curl -X GET 'http://localhost:8080/v1/senders/string/tasks'
{  "success": true,  "data": [    {      "id": "string",      "projectId": "string",      "enrollmentId": "string",      "runId": "string",      "senderId": "string",      "contactId": "string",      "kind": "string",      "title": "string",      "body": "string",      "link": "string",      "dueAt": "2019-08-24T14:15:22Z",      "expiresAt": "2019-08-24T14:15:22Z",      "status": "string",      "outcome": "string",      "note": "string",      "connectedOutcomes": [        "string"      ],      "branchesByOutcome": {        "property1": "string",        "property2": "string"      },      "onCompleted": "string",      "onExpired": "string",      "dialer": true,      "autoComplete": true,      "dialerPushedAt": "2019-08-24T14:15:22Z",      "completeOnOpen": "string",      "openedAt": "2019-08-24T14:15:22Z",      "completedAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ],  "meta": {    "request_id": "string",    "next_cursor": "string"  }}