channels

Upsert Channel Binding

Create or update the binding for one external conversation.

PUT rather than PATCH, and addressed by the external conversation rather than a binding id: the operator is saying "this is how the agent behaves in this channel", and whether a row already exists is our bookkeeping, not theirs.

put/api/v1/channels/bindings

Request body

providerstring required
external_conversation_idstring required
external_conversation_namestring nullable
conversation_typestring required
agent_modestring required
chat_agent_idstring uuid required
property_idstring uuid nullable
enabledboolean required

Response

Successful Response

idstring uuid required
providerstring required
external_conversation_idstring required
external_conversation_namestring nullable
conversation_typestring required
agent_modestring required
chat_agent_idstring uuid required
property_idstring uuid nullable
enabledboolean required

Changes