Skip to main content
POST

Overview

Create a new webhook to receive HTTP notifications when events occur. The response includes a signing secret that is only shown once — save it immediately. Auth: Requires JWT token (Authorization: Bearer <token>).

Body Parameters

string
required
The HTTPS URL to receive webhook deliveries. Must start with https://.
string[]
required
Event types to subscribe to. At least one is required.Valid values:
  • tool.execution.completed
  • tool.execution.failed
  • workflow.completed
  • workflow.failed
  • agent.spend.limit_approaching
  • tool.flagged (publishers)
  • service.degraded (publishers)
  • service.repaired (publishers)
See Webhooks for when each one fires.
string
Optional description for your reference (e.g. “Production monitoring”)

Response

string
Webhook UUID
string
The registered URL
string[]
Subscribed event types
boolean
Always true on creation
string
Optional description
string
The signing secret (format: whsec_...). Only returned on creation. Use this to verify webhook signatures via HMAC-SHA256.

Example

Remember to store the secret value securely — it is only returned once. See the Webhooks guide for signature verification examples.