List webhook endpoints without signing secrets
GET
/api/v1/projects/{project_id}/webhookswebhooks:readParameters
| Field | Type | Required | Rules |
|---|---|---|---|
cursor query | string | No | |
limit query | integer | No | 1–100 |
Response 200
| Field | Type | Required | Rules |
|---|---|---|---|
data | object[] | Yes | |
next_cursor | string | null | Yes |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After502Invalid stored result or inconsistent project/customer/operation binding; no private data returned503Maintenance mode or required service configuration unavailable
curl -X GET "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/webhooks" \
-H "Authorization: Bearer $TECHRACE_API_KEY"Register a webhook (any public HTTPS host unless an operator host list is set); reveal the signing secret once
POST
/api/v1/projects/{project_id}/webhookswebhooks:writeRequest body
| Field | Type | Required | Rules |
|---|---|---|---|
url | string (uri) | Yes | length 0–2000 |
name | string | No | length 1–80 |
event_types | string[] | No | 1–50 items |
customer_ids | uuid[] | null | No | 1–100 items |
Response 201
| Field | Type | Required | Rules |
|---|---|---|---|
endpoint | object | Yes | |
signing_secret | string | Yes |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After502Invalid stored result or inconsistent project/customer/operation binding; no private data returned503Maintenance mode or required service configuration unavailable
curl -X POST "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/webhooks" \
-H "Authorization: Bearer $TECHRACE_API_KEY" \
-H "Content-Type: application/json" \
--data @- <<EOF
{
"url": "https://your-app.com/webhooks/techrace",
"name": "Production backend",
"event_types": [
"account.connected",
"account.disconnected"
],
"customer_ids": null
}
EOF{
"endpoint": {
"id": "5d8b1e3f-2a6c-4b97-8e10-9c4f7a2d1b65",
"url": "https://your-app.com/webhooks/techrace",
"enabled": true,
"created_at": "2026-11-14T10:00:00.000Z",
"name": "Production backend"
},
"signing_secret": "…shown once, store it securely…"
}Rename a webhook
PATCH
/api/v1/projects/{project_id}/webhooks/{endpoint_id}webhooks:writeParameters
| Field | Type | Required | Rules |
|---|---|---|---|
endpoint_id path | uuid | Yes |
Request body
| Field | Type | Required | Rules |
|---|---|---|---|
name | string | null | Yes | length 1–80 |
Response 200
| Field | Type | Required | Rules |
|---|---|---|---|
endpoint | object | Yes |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After503Maintenance mode or required service configuration unavailable
curl -X PATCH "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/webhooks/$ENDPOINT_ID" \
-H "Authorization: Bearer $TECHRACE_API_KEY" \
-H "Content-Type: application/json" \
--data @- <<EOF
{
"name": "…"
}
EOFDisable future delivery attempts for this endpoint
DELETE
/api/v1/projects/{project_id}/webhooks/{endpoint_id}webhooks:writeParameters
| Field | Type | Required | Rules |
|---|---|---|---|
endpoint_id path | uuid | Yes |
Response 200
| Field | Type | Required | Rules |
|---|---|---|---|
disabled | true | Yes |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After503Maintenance mode or required service configuration unavailable
curl -X DELETE "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/webhooks/$ENDPOINT_ID" \
-H "Authorization: Bearer $TECHRACE_API_KEY"Delete a webhook permanently; past delivery history is kept
POST
/api/v1/projects/{project_id}/webhooks/{endpoint_id}/deletewebhooks:writeParameters
| Field | Type | Required | Rules |
|---|---|---|---|
endpoint_id path | uuid | Yes |
Response 200
| Field | Type | Required | Rules |
|---|---|---|---|
deleted | true | Yes |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After503Maintenance mode or required service configuration unavailable
curl -X POST "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/webhooks/5d8b1e3f-2a6c-4b97-8e10-9c4f7a2d1b65/delete" \
-H "Authorization: Bearer $TECHRACE_API_KEY"{
"deleted": true
}Inspect delivery attempts and outcomes using optional server-side filters
GET
/api/v1/projects/{project_id}/webhook-deliverieswebhooks:readParameters
| Field | Type | Required | Rules |
|---|---|---|---|
cursor query | string | No | |
limit query | integer | No | 1–100 |
status query | enum | No | one of: "pending", "leased", "succeeded", "failed" |
endpoint_id query | uuid | No | |
event_id query | uuid | No |
Response 200
| Field | Type | Required | Rules |
|---|---|---|---|
data | object[] | Yes | |
next_cursor | string | null | Yes |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After502Invalid stored result or inconsistent project/customer/operation binding; no private data returned503Maintenance mode or required service configuration unavailable
curl -X GET "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/webhook-deliveries" \
-H "Authorization: Bearer $TECHRACE_API_KEY"Read current webhook subscription and rotation metadata
GET
/api/v1/projects/{project_id}/webhooks/{endpoint_id}/settingswebhooks:readParameters
| Field | Type | Required | Rules |
|---|---|---|---|
endpoint_id path | uuid | Yes |
Response 200
| Field | Type | Required | Rules |
|---|---|---|---|
endpoint | object | Yes |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After503Maintenance mode or required service configuration unavailable
curl -X GET "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/webhooks/$ENDPOINT_ID/settings" \
-H "Authorization: Bearer $TECHRACE_API_KEY"Replace exact subscriptions and pause/resume with current revision; customer keys denied
PUT
/api/v1/projects/{project_id}/webhooks/{endpoint_id}/settingswebhooks:writeParameters
| Field | Type | Required | Rules |
|---|---|---|---|
endpoint_id path | uuid | Yes |
Request body
| Field | Type | Required | Rules |
|---|---|---|---|
expected_revision | integer | Yes | 0–9007199254740991 |
enabled | boolean | Yes | |
event_types | string[] | Yes | 0–50 items['*'] selects all event types; [] selects none. |
customer_ids | uuid[] | null | Yes | 0–100 itemsnull selects all customers; [] selects none. |
Response 200
| Field | Type | Required | Rules |
|---|---|---|---|
endpoint | object | Yes |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After503Maintenance mode or required service configuration unavailable
curl -X PUT "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/webhooks/5d8b1e3f-2a6c-4b97-8e10-9c4f7a2d1b65/settings" \
-H "Authorization: Bearer $TECHRACE_API_KEY" \
-H "Content-Type: application/json" \
--data @- <<EOF
{
"expected_revision": 1,
"enabled": true,
"event_types": [
"*"
],
"customer_ids": [
"8f1c2a4e-6b3d-4e21-9a77-1d0c5b2e9f10"
]
}
EOF{
"endpoint": {
"id": "5d8b1e3f-2a6c-4b97-8e10-9c4f7a2d1b65",
"enabled": true,
"revision": 2,
"event_types": [
"*"
],
"customer_ids": [
"8f1c2a4e-6b3d-4e21-9a77-1d0c5b2e9f10"
]
}
}Rotate signing secret once, with zero to one hour overlap; no stacked overlap
POST
/api/v1/projects/{project_id}/webhooks/{endpoint_id}/rotate-secretwebhooks:writeParameters
| Field | Type | Required | Rules |
|---|---|---|---|
endpoint_id path | uuid | Yes |
Request body
| Field | Type | Required | Rules |
|---|---|---|---|
expected_revision | integer | Yes | 0–9007199254740991 |
overlap_seconds | integer | Yes | 0–3600 |
Response 200
| Field | Type | Required | Rules |
|---|---|---|---|
endpoint | object | Yes | |
signing_secret | string | Yes |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After503Maintenance mode or required service configuration unavailable
curl -X POST "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/webhooks/$ENDPOINT_ID/rotate-secret" \
-H "Authorization: Bearer $TECHRACE_API_KEY" \
-H "Content-Type: application/json" \
--data @- <<EOF
{
"expected_revision": 1,
"overlap_seconds": 1
}
EOFQueue a synthetic notification for an active customer; accepted is not delivered
POST
/api/v1/projects/{project_id}/webhooks/{endpoint_id}/testwebhooks:writeParameters
| Field | Type | Required | Rules |
|---|---|---|---|
endpoint_id path | uuid | Yes |
Request body
| Field | Type | Required | Rules |
|---|---|---|---|
customer_id | uuid | Yes | |
idempotency_key | uuid | Yes |
Response 202
| Field | Type | Required | Rules |
|---|---|---|---|
delivery | object | Yes |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After503Maintenance mode or required service configuration unavailable
curl -X POST "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/webhooks/5d8b1e3f-2a6c-4b97-8e10-9c4f7a2d1b65/test" \
-H "Authorization: Bearer $TECHRACE_API_KEY" \
-H "Content-Type: application/json" \
--data @- <<EOF
{
"customer_id": "8f1c2a4e-6b3d-4e21-9a77-1d0c5b2e9f10",
"idempotency_key": "2f9c6a1e-8d3b-4e57-a210-7c5b9e1d4f08"
}
EOF{
"delivery": {
"id": "b7e3c1a9-5d2f-4a86-9c04-e1f8a6d2b357",
"status": "pending"
}
}Retry only a failed notification within24hours, at most3manual batches and32total attempts; never repeats the provider action
POST
/api/v1/projects/{project_id}/webhook-deliveries/{delivery_id}/redeliverwebhooks:writeParameters
| Field | Type | Required | Rules |
|---|---|---|---|
delivery_id path | uuid | Yes |
Request body
| Field | Type | Required | Rules |
|---|---|---|---|
expected_attempts | integer | Yes | 0–31 |
idempotency_key | uuid | Yes |
Response 202
| Field | Type | Required | Rules |
|---|---|---|---|
delivery | object | Yes |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After503Maintenance mode or required service configuration unavailable
curl -X POST "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/webhook-deliveries/$DELIVERY_ID/redeliver" \
-H "Authorization: Bearer $TECHRACE_API_KEY" \
-H "Content-Type: application/json" \
--data @- <<EOF
{
"expected_attempts": 1,
"idempotency_key": "$IDEMPOTENCY_KEY"
}
EOFRead append-only attempt outcomes; erased events are unavailable
GET
/api/v1/projects/{project_id}/webhook-deliveries/{delivery_id}/attemptswebhooks:readParameters
| Field | Type | Required | Rules |
|---|---|---|---|
delivery_id path | uuid | Yes | |
after query | integer | No | 0–∞ |
limit query | integer | No | 1–100 |
Response 200
| Field | Type | Required | Rules |
|---|---|---|---|
delivery_id | uuid | Yes | |
event_id | uuid | Yes | |
customer_id | uuid | Yes | |
data | object[] | Yes | 0–100 items |
next_after | integer | null | Yes | 0–∞ |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After503Maintenance mode or required service configuration unavailable
curl -X GET "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/webhook-deliveries/$DELIVERY_ID/attempts" \
-H "Authorization: Bearer $TECHRACE_API_KEY"