Saltar al contenido principal
POST
Crear un webhook de un teléfono

Autorizaciones

Authorization
string
header
requerido

Clave API de la cuenta.

Parámetros de ruta

phoneNumberId
string
requerido
Pattern: ^\d{1,32}$

Cuerpo

application/json
url
string
requerido

URL HTTPS pública.

Maximum string length: 2048
secret
string
requerido
write-only
Required string length: 32 - 512
events
string[]
requerido
Required array length: 1 - 16 elements
active
boolean
predeterminado:true

Respuesta

Creado.

webhook
object
requerido