Endpoint
POST /webhooks
Creates or updates the webhook configuration for the authenticated customer. Only one webhook per customer is supported; repeated calls update the existing webhook.
Request Body
JSON object with the following fields:Field | Type | Required | Description |
---|---|---|---|
webhook_url | string | Yes | HTTPS URL to receive webhook events. Must start with https:// . |
secret | string | No | Secret used to sign webhook payloads. Empty string is treated as null . |
is_active | boolean | No | Whether the webhook is active. Defaults to true . |
events | string[] | No | List of event types to subscribe to. Defaults to all supported events. |
Supported Event Types
cdd_state_changed
: When the state of a CDD changes to either inconclusive or complete.monitoring_alert_fired
: When a monitoring alert is fired on failure.
Example Request
Responses
204 No Content
Webhook was created or updated successfully. No response body.400 Bad Request
Input validation failed.500 Internal Server Error
Unexpected error occurred.Authentication
This endpoint requires authentication. The webhook is associated with the authenticated customer.Authorizations
Body
application/json
Must be a valid URL starting with https.
Indicates if the webhook is active.
Secret key to sign the webhook payload, and will be passed in the X-Signature
header.
List of events to trigger the webhook. If not provided, no events will be triggered.
Response
Webhook configuration created or updated.