stet
API reference

List per-channel send results

Failed sends first, then pending, then everything else; channel name ascending within each group.

GET/api/broadcasts/{id}/sends
AuthorizationBearer <token>

A Stet API key (prefix bk_), created under Settings → API keys. The whole API requires the Growth plan or higher; keys are scoped read or write — composing and sending require write.

In: header

Path Parameters

idstring

Response Body

curl -X GET "https://app.stethq.com/api/broadcasts/string/sends"
{
  "sends": [
    {
      "id": "string",
      "channelId": "string",
      "slackChannelId": "string",
      "channelName": "string",
      "audienceName": "string",
      "status": "pending",
      "errorMessage": "string",
      "sentAt": "2019-08-24T14:15:22Z",
      "slackTs": "string",
      "permalink": "string",
      "replyCount": 0,
      "reactionCount": 0
    }
  ],
  "summary": {
    "delivered": 0,
    "failed": 0,
    "pending": 0,
    "total": 0
  }
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}