Crear Webhook

Registra un nuevo endpoint para recibir eventos. Al crear el webhook se genera automáticamente un secreto de firma HMAC (whsec_...). Los eventos disponibles son: call.started, call.finished, call.failed.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
urlstringRequiredformat: "uri"

URL pública que recibirá los eventos.

eventslist of stringsRequired

Eventos a escuchar. Ejemplo: call.started, call.finished, call.failed

descriptionstringOptional

Response

Webhook creado (incluye el secreto de firma).

idstringformat: "uuid"
urlstring
eventslist of strings

Ejemplo: call.finished, call.started

descriptionstring
secretstring

Secreto de firma HMAC (formato: whsec_…). Solo visible en la creación.

createdAtdatetime