JavaScript
Webhooks
Update webhook
PUT
JavaScript
Documentation Index
Fetch the complete documentation index at: https://docs.cerca.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Minimum string length:
1Example:
"fleet_abc123"
Minimum string length:
1Example:
"webhook_abc123"
Body
application/json
Whether deliveries are enabled for this subscription.
Example:
true
Event names to deliver. Omit to subscribe to all non-test events.
webhook.test is reserved for the test endpoint and cannot be subscribed to.
Available options:
agent.created, agent.updated, agent.deleted, thread.created, thread.status.changed, thread.completed, thread.failed, turn.created, turn.completed, turn.failed, message.created, approval.requested, approval.resolved, approval.granted, schedule.created, schedule.deleted, schedule.triggered, connection.attached, connection.detached HTTPS endpoint that will receive webhook deliveries.
Example:
"https://example.com/webhook"
Response
Webhook subscription updated.
Webhook subscription metadata returned by list, get, and update. The one-time signing secret is not returned here.
Available options:
agent.created, agent.updated, agent.deleted, thread.created, thread.status.changed, thread.completed, thread.failed, turn.created, turn.completed, turn.failed, message.created, approval.requested, approval.resolved, approval.granted, schedule.created, schedule.deleted, schedule.triggered, connection.attached, connection.detached, webhook.test