Channels
REST reference

Channels API

Connected messaging channels.

List channels

GET/v1/channels

Lists connected channels (unpaginated). Sensitive config is never returned.

Required scope: channels:read.

Request
cURL
curl "https://api.asks.app/v1/channels" \
  -H "Authorization: Bearer $ASKS_API_KEY"
Response 200
JSON
{
  "object": "list",
  "data": [
    {
      "object": "channel",
      "id": "string",
      "type": "widget",
      "name": "string",
      "is_active": true,
      "status": "pending",
      "last_connected_at": {},
      "last_error_message": {},
      "conversation_count": 1,
      "created_at": {},
      "updated_at": {}
    }
  ],
  "has_more": true,
  "next_cursor": {}
}