API reference
List synced Slack channels
GET
/api/channelsAuthorizationBearer <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
Query Parameters
q?string
Substring filter on channel name.
is_private?boolean
has_bot?boolean
Filter to channels Stet's bot has (or hasn't) joined.
Response Body
curl -X GET "https://app.stethq.com/api/channels?q=string&is_private=true&has_bot=true"{
"last_channel_sync_at": "2019-08-24T14:15:22Z",
"channels": [
{
"id": "string",
"slack_channel_id": "string",
"name": "string",
"is_private": true,
"is_archived": true,
"is_bot_member": true,
"member_count": 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"
}List broadcasts
Newest first. Every field the API key's org can see (workspace-scoped).
List thread replies to a broadcast's sends
Read-only. Only replies to messages Stet itself posted are ever matched (by channel + timestamp) — replies to messages posted by other means never appear here. Windowed by the org's plan (engagement retention).