Үндсэн агуулга руу алгасах
API reference

What each of your channels can send and receive

GET/capabilities

Per-channel capability registry (same data as the dashboard preflight). Support values are live (works today), unwired (the platform supports it, OpenBot does not yet) and none. Kinds OpenBot does not know yet return supported: false and capabilities: null.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://example.com/capabilities"
{  "api_version": "string",  "channels": [    {      "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459",      "kind": "string",      "status": "string",      "supported": true,      "capabilities": {        "allowed": true,        "mode": "free",        "ai_mode": "string",        "window": {          "duration_seconds": 0,          "outside": "string",          "note": "string"        },        "limits": {          "property1": 0,          "property2": 0        },        "media": [          {            "kind": "audio",            "accept": true,            "outbound": "live",            "inbound": "live",            "max_bytes": 0,            "inbound_max_bytes": 0,            "mime_types": [              "string"            ]          }        ],        "features": {          "typing": "string",          "read_receipts": "string",          "handover": "string",          "reaction": "string",          "choices_attach": "string"        },        "degrades": [          {            "code": "string",            "detail": "string"          }        ]      }    }  ]}