List API Agent channels

API documentation for List API Agent channels

GET
/api/v1/api-agents/{agentId}/channels

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication.

In: header

Path Parameters

agentId*string

Query Parameters

provider?string

Value in

  • "telegram"
  • "slack"
  • "discord"
  • "wecom"
  • "whatsapp"
  • "wecom_webhook"
  • "wecom_bot"
  • "feishu"
  • "msteams"
  • "wechat"
  • "web"
  • "dingtalk"
  • "line"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/api-agents/string/channels"
{  "channels": [    {      "id": "string",      "provider": "telegram",      "label": "string",      "botUsername": "string",      "isActive": true,      "disabledReason": "session_expired",      "spaceId": "string",      "metadata": {        "property1": null,        "property2": null      },      "createdAt": "string",      "updatedAt": "string"    }  ]}