Skip to main content
PATCH
Actualizar suscripción

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)

subscriptionId
string<uuid>
required

Identificador de la suscripción de evento (UUID v4)

Body

application/json
isActive
boolean

Response

OK

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