Channel Inbound Toggle
PATCH
/platform/v1/channels/{channel_id}/inbound
const url = 'https://example.com/platform/v1/channels/1/inbound';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"inbound_enabled":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” channel_id
required
Channel Id
integer
Request Body required
Section titled “Request Body required ” 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}Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
exampleValidation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
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" } ]}