Skip to main content
POST
Crear webhook

Body

string
required
URL HTTPS de tu endpoint que recibirá los eventos.
string[]
required
Lista de eventos a los que suscribirte. Valores: patient.created, form.completed, call.ended, conversation.ended, credits.low, schedule.sent.
string
Clave secreta para firmar los webhooks con HMAC-SHA256. Si se omite, se genera automáticamente.
string
Identificador único del webhook con prefijo wh_.
string
Clave secreta para verificar firmas. Solo se muestra en esta respuesta. Consulta la guía de webhooks para implementar la verificación.
string
Estado del webhook: active o disabled.

Authorizations

Authorization
string
header
required

Token JWT obtenido via POST /auth/token

Body

application/json
url
string<uri>
required
events
string[]
required
secret
string

Response

201 - application/json

Webhook creado

id
string
url
string
events
string[]
secret
string
status
string
createdAt
string<date-time>