Skip to content

Channel Inbound Toggle

PATCH
/platform/v1/channels/{channel_id}/inbound
curl --request PATCH \
--url https://example.com/platform/v1/channels/1/inbound \
--header 'Content-Type: application/json' \
--data '{ "inbound_enabled": true }'

Flip platform_channels.inbound_enabled. NO Meta call; works on WA and IG (the toggle is a local kill-switch on the inbound webhook gate).

Idempotent boolean: two concurrent PATCHes last-write-wins with no harm.

channel_id
required
Channel Id
integer
Media type application/json
PlatformChannelInboundToggle

Body for PATCH /platform/v1/channels/{id}/inbound.

Flips platform_channels.inbound_enabled — does NOT call Meta. TRUE = forward+persist inbound (default); FALSE = silently drop inbound.

object
inbound_enabled
required
Inbound Enabled
boolean
Example generated
{
"inbound_enabled": true
}

Successful Response

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}