Update Channel Route

Toggle enabled status for a channel route.

Single-channel enforcement: when enabling a channel, all other non-webchat routes for this user are automatically disabled so exactly one messaging channel is active at a time.

If the user has no route for this channel yet (e.g. they configured credentials but haven't messaged through the channel), a placeholder route is created so the enabled flag can be persisted.

patch/api/user/channels/routes/{channel}

Path parameters

channelstring required

Request body

enabledboolean required

Response

Successful Response

channelstring required
channel_identifierstring required
enabledboolean required
created_atstring required

Changes