Update a conversation
Set a conversation's trigger (Off, Mention, Any message, or By decision with its complete gate binding), session mode, or default agent, then push the updated routing configuration. Off, Mention, and Any message clear a By decision binding. By decision refusals carry code DECISION_NOT_FOUND (404) or DECISION_UNSUPPORTED_CONSUMER (409); session mode auto is refused with SESSION_MODE_UNSUPPORTED (409) unless every connected daemon serving the conversation supports it, and with SESSION_MODE_CONFLICT (409) together with By decision or shared-bot routing. By decision is refused with SESSION_MODE_CONFLICT (409) while an agent of the conversation (on a shared bot, any agent using the bot) is in assistant mode.
Authorization
bearerAuth In: header
Path Parameters
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/orgs/string/integrations/string/channels/string" \ -H "Content-Type: application/json" \ -d '{}'{ "channelId": "string", "name": "string", "spaceId": "string", "space": "string", "icon": "string", "color": "string", "key": "string", "url": "string", "isPrivate": true, "isCodeSession": true, "kind": "channel", "trigger": "off", "decisionBinding": { "decisionId": "string", "when": { "type": "choice", "thresholds": { "property1": 0, "property2": 0 } }, "nextStepId": "string", "elseStepId": "string", "type": "gate", "steps": [ { "decisionId": "string", "when": { "type": "choice", "thresholds": { "property1": 0, "property2": 0 } }, "nextStepId": "string", "elseStepId": "string", "id": "string" } ] }, "decision": { "consumer": "gate", "id": "string", "name": "string", "enabled": true, "disabledReason": "needs_review", "readiness": { "status": "ready", "reason": "string" } }, "sessionMode": "createNew", "blockedBotSenders": [ "string" ], "agentId": "string", "externalReason": "externallyShared"}