ID を指定してチャネルを取得します。
リクエストヘッダー
|
ヘッダー |
必須 |
説明 |
|
|
はい |
|
パスパラメーター
|
パラメーター |
型 |
必須 |
説明 |
|
|
文字列 |
はい |
チャネル ID。チャネルオブジェクトの |
リクエストの例
curl -s -X GET 'https://api.qoder.com.cn/api/v1/forward/channels/ci_019eabc123' \
-H "Authorization: Bearer $QODER_PAT"
応答の例
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"
}
応答フィールド
チャネルオブジェクトを返します。
エラー
|
HTTP |
タイプ |
コード |
トリガー |
|
401 |
— |
|
PAT が無効であるか、有効期限が切れています。 |
|
404 |
|
|
チャネルが存在しないか、呼び出し元から参照できません。 |
注記
-
binding_statusはシステムによって維持され、Update Channel で直接変更できません。 -
enabled=trueかつbinding_status="bound"の場合にのみ、チャネルはインバウンドメッセージを処理できます。