Retrieve a Channel by ID.
Request headers
|
Header |
Required |
Description |
|
|
Yes |
|
Path parameters
|
Parameter |
Type |
Required |
Description |
|
|
string |
Yes |
Channel ID. Same value as the Channel object's |
Example request
curl -s -X GET 'https://api.qoder.com.cn/api/v1/forward/channels/ci_019eabc123' \
-H "Authorization: Bearer $QODER_PAT"
Example response
HTTP 200 OK
{
"id": "ci_019eabc123",
"type": "channel",
"identity_id": "idn_019eabc123",
"template_id": "tmpl_support",
"channel_type": "feishu",
"name": "Support Feishu channel",
"enabled": true,
"binding_status": "bound",
"channel_config": {
"response_options": {
"include_tool_calls": false,
"include_thinking": false
}
},
"created_at": "2026-06-18T10:00:00Z",
"updated_at": "2026-06-18T10:00:00Z"
}
Response fields
Returns the Channel object.
Errors
|
HTTP |
Type |
Code |
Trigger |
|
401 |
— |
|
PAT invalid or expired. |
|
404 |
|
|
Channel does not exist or is not visible to the caller. |
Notes
-
binding_statusis system-maintained and cannot be directly changed by Update Channel. -
A channel can handle inbound messages only when
enabled=trueandbinding_status="bound".