Create a webhook
Create a new webhook subscription. If this is the first webhook for this AI Agent, the webhook infrastructure is automatically provisioned
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
url
The URL that will receive webhook events
description
A description of the webhook
event_filters
Event types to subscribe to. An empty list subscribes to all events
enabled
Whether the webhook is enabled
Response
Webhook created
id
The webhook ID
url
The URL that will receive webhook events
description
A description of the webhook
event_filters
Event types this webhook is subscribed to. If empty, the webhook receives all events
enabled
Whether the webhook is enabled
created_at
When the webhook was created
updated_at
When the webhook was last updated