List Webhooks
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
page | integer | 1 | Page number |
per_page | integer | 20 | Items per page (max 100) |
sort | string | created_at | Sort by: created_at, name, or enabled |
order | string | desc | Sort direction: asc or desc |
Response
Get Webhook
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | uuid | The webhook ID |
Response
Errors
| Status | Type | Description |
|---|---|---|
| 404 | not_found | Webhook not found |
Create Webhook
secret_key for verifying webhook signatures is returned only once in the response.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name for the webhook |
url | string | Yes | The URL to deliver webhook payloads to |
event_types | string[] | Yes | Events to subscribe to (non-empty array) |
description | string | No | Description |
method | string | No | HTTP method for delivery (defaults to POST) |
auth_type | string | No | Authentication type: none, basic, bearer, hmac (defaults to none) |
auth_config | object | No | Auth credentials (depends on auth_type) |
request_headers | object | No | Custom headers to include in deliveries |
route_filter | string | No | Only trigger for events on a specific route ID |
include_request_body | boolean | No | Include the original request body in the payload (defaults to true) |
include_response_body | boolean | No | Include the upstream response body (defaults to false) |
include_headers | boolean | No | Include request/response headers (defaults to false) |
timeout_seconds | integer | No | Delivery timeout in seconds (defaults to 30) |
retry_on_failure | boolean | No | Retry failed deliveries (defaults to true) |
max_retries | integer | No | Maximum retry attempts (defaults to 3) |
enabled | boolean | No | Enable immediately (defaults to true) |
Response
Errors
| Status | Type | Description |
|---|---|---|
| 400 | validation_error | Missing required fields or empty event_types array |
Update Webhook
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | uuid | The webhook ID |
Request Body
All fields are optional. Only provided fields will be updated.| Field | Type | Description |
|---|---|---|
name | string | Display name |
description | string | Description |
url | string | Delivery URL |
method | string | HTTP method |
event_types | string[] | Subscribed event types |
auth_type | string | Authentication type |
auth_config | object | Authentication credentials |
request_headers | object | Custom delivery headers |
route_filter | string | Route ID filter |
include_request_body | boolean | Include request body |
include_response_body | boolean | Include response body |
include_headers | boolean | Include headers |
timeout_seconds | integer | Delivery timeout |
retry_on_failure | boolean | Retry on failure |
max_retries | integer | Max retry attempts |
enabled | boolean | Enable or disable |
Response
Returns the updated webhook object (withoutsecret_key).
Errors
| Status | Type | Description |
|---|---|---|
| 400 | validation_error | No valid fields provided |
| 404 | not_found | Webhook not found |
Delete Webhook
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | uuid | The webhook ID |
Response
Errors
| Status | Type | Description |
|---|---|---|
| 404 | not_found | Webhook not found |
Get Webhook Logs
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | uuid | The webhook ID |
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
page | integer | 1 | Page number |
per_page | integer | 20 | Items per page (max 100) |
Response
Errors
| Status | Type | Description |
|---|---|---|
| 404 | not_found | Webhook not found |