Endpoint
Request
Response
Response Fields
Each object in the array has the following fields:| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for this webhook |
url | string | The HTTPS endpoint DriftGuard delivers payloads to |
events | array | Result types that trigger this webhook — breaking, warning, and/or pass |
contract_id | string | null | Contract scope — null means this webhook fires for all contracts |
active | boolean | Whether this webhook is currently active and receiving deliveries |
created_at | string | ISO 8601 timestamp of when the webhook was registered |
The
secret signing key is never returned in this response. It is only shown
once at creation via POST /api/v1/webhooks.
If you have lost your secret, delete the webhook and create a new one.Filtering by Active Status
To check which webhooks are currently active, filter the response client-side on theactive field. A webhook with "active": false will not receive any
deliveries until it is re-enabled.
Pagination support is available for this endpoint. If you have a large number
of webhooks, results may be returned across multiple pages.
Error Responses
| Status | Meaning |
|---|---|
401 | Missing or invalid X-API-Key |
429 | Rate limit exceeded — 100 req/min per key |
Create Webhook
Register a new webhook endpoint.
Webhooks Guide
Learn about payload structure, signature verification, and retry behaviour.
