Skip to main content
POST
Crear suscripción de evento para un webhook

Authorizations

Authorization
string
header
required

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

Headers

x-workspace-id
string<uuid>
required

Identificador del workspace multi-tenant.

Path Parameters

webhookId
string<uuid>
required

Identificador del webhook (UUID v4)

Body

application/json
eventKey
string
required
isActive
boolean
default:true

Response

Created

Detalle de suscripción (mismos campos que el resumen por ahora).

id
string<uuid>
required
webhookId
string<uuid>
required
eventKey
string
required

Clave del evento (p. ej. tool.invoked, call.callEnded, whatsapp.messageReceived).

isActive
boolean
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required