Start managed channel connection

API documentation for Start managed channel connection

POST
/api/v1/api-agents/{agentId}/channels/connections

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication.

In: header

Path Parameters

agentId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/api-agents/string/channels/connections" \  -H "Content-Type: application/json" \  -d '{    "provider": "wechat"  }'
{  "provider": "wechat",  "connectionId": "string",  "status": "waiting",  "message": "string",  "authorizationData": "string",  "channel": {    "id": "string",    "provider": "telegram",    "label": "string",    "botUsername": "string",    "isActive": true,    "disabledReason": "session_expired",    "spaceId": "string",    "metadata": {      "property1": null,      "property2": null    },    "createdAt": "string",    "updatedAt": "string"  }}