Endpoints
Endpoints represent the webhook URLs that receive deliveries. Create, update, pause, and delete endpoints.
POST
/v1/endpointsRegister a new webhook endpoint.
Request body
ParameterType
namereqstring
Display name for the endpoint
urlreqstring
The URL that receives webhooks
secretstring
Signing secret for signature verification
headers_jsonobject
Custom headers sent with each delivery
timeout_secondsinteger
Request timeout (default: 10)
RequestJSON
{
"name": "my-webhook",
"url": "https://example.com/webhook",
"secret": "whsec_your_signing_secret",
"headers_json": {},
"timeout_seconds": 10
}201 ResponseJSON
{
"id": "ep_550e8400-e29b-41d4-a716-446655440000",
"name": "my-webhook",
"url": "https://example.com/webhook",
"headers_json": {},
"timeout_seconds": 10,
"status": "ACTIVE",
"paused_at": null,
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}GET
/v1/endpointsList all endpoints for the authenticated tenant.
200 ResponseJSON
[
{
"id": "ep_550e8400-e29b-41d4-a716-446655440000",
"name": "my-webhook",
"url": "https://example.com/webhook",
"status": "ACTIVE",
...
}
]GET
/v1/endpoints/{ep_id}Retrieve a single endpoint by its prefixed ID.
200 ResponseJSON
{
"id": "ep_550e8400-e29b-41d4-a716-446655440000",
"name": "my-webhook",
"url": "https://example.com/webhook",
"headers_json": {},
"timeout_seconds": 10,
"status": "ACTIVE",
"paused_at": null,
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}PATCH
/v1/endpoints/{ep_id}Update an endpoint. Supports partial updates. Set status to PAUSED to pause delivery, ACTIVE to resume.
Request body (all optional)
ParameterType
namestring
Updated display name
urlstring
Updated webhook URL
secretstring
Updated signing secret
headers_jsonobject
Updated custom headers
timeout_secondsinteger
Updated timeout
statusstring
ACTIVE or PAUSED
RequestJSON
{
"name": "updated-name",
"status": "PAUSED"
}200 ResponseJSON
{
"id": "ep_550e8400-e29b-41d4-a716-446655440000",
"name": "updated-name",
"status": "PAUSED",
"paused_at": "2024-01-01T12:00:00Z",
...
}DELETE
/v1/endpoints/{ep_id}Permanently delete an endpoint.
Returns 204 No Content on success.