Senders

A sender with channels, connections and readiness

GET
/v1/senders/{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/senders/string'
{  "success": true,  "data": {    "id": "string",    "projectId": "string",    "externalId": "string",    "name": "string",    "email": "string",    "timezone": "string",    "status": "string",    "attrs": {      "property1": null,      "property2": null    },    "signatureHtml": "string",    "signatureText": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "channels": [      {        "id": "string",        "senderId": "string",        "projectId": "string",        "connectionId": "string",        "channel": "string",        "address": "string",        "status": "string",        "dailyLimit": -9007199254740991,        "weeklyLimit": -9007199254740991,        "minGapSeconds": -9007199254740991,        "optedInAt": "2019-08-24T14:15:22Z",        "config": {          "property1": null,          "property2": null        },        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z"      }    ],    "readiness": {      "email": {        "ok": true,        "reason": "string"      },      "sms": {        "ok": true,        "reason": "string"      },      "task": {        "ok": true      }    },    "connections": [      {        "id": "string",        "tenantId": "string",        "ownerId": "string",        "provider": "string",        "account": "string",        "scopes": [          "string"        ],        "status": "pending",        "keyId": "string",        "config": {          "property1": null,          "property2": null        },        "lastOkAt": "2019-08-24T14:15:22Z",        "lastError": "string",        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z"      }    ]  },  "meta": {    "request_id": "string"  }}