Saltar al contenido principal
PATCH
Set incoming WhatsApp calls on or off

Autorizaciones

Authorization
string
header
requerido

Server-side tenant-scoped credential created from Build > API Keys.

Parámetros de ruta

channelId
string
requerido

Stored channel.id from list_channels or get_channel. Provider page, phone, account and WABA IDs are not this ID.

Pattern: ^[a-fA-F0-9]{24}$

Cuerpo

application/json
enabled
boolean
requerido
revision
integer
requerido
Rango requerido: x >= 0

Respuesta

Set incoming WhatsApp calls on or off

enabled
boolean
requerido
confirmedEnabled
boolean
requerido
revision
integer
requerido
Rango requerido: x >= 0
answerRoute
enum<string>
requerido
Opciones disponibles:
ai
state
enum<string>
requerido
Opciones disponibles:
off,
test_only,
on,
enabling,
disabling,
needs_attention
reason
string
eligibility
object