Webhook requests API
Doxtly records the requests your webhooks receive, accepted and refused alike. Use these endpoints to find out why a partner’s call didn’t work, to check that a delivery arrived, or to delete a request that carried something it shouldn’t have. They are the API side of the Requests tab in the app.
Three kinds of request are never recorded: a call to an address with no webhook behind it, a call your rate limits refused, and a call that came while your organization was unavailable. Requests are removed after your organization’s retention period, 90 days by default. Data retention is where you change it.
Outcomes
Section titled “Outcomes”outcome says what became of a request. statusCode is what the caller was answered.
outcome |
statusCode |
Meaning |
|---|---|---|
accepted |
The webhook’s responseStatus |
Taken, and its workflows were started. If no active workflow listens, none were. |
replayed |
The status of the first request | A repeat of an accepted request, with the same idempotency key. Nothing started. |
inactive |
404 |
The webhook is switched off. |
method_not_allowed |
405 |
The wrong HTTP method. |
unauthorized |
401 |
No token or access key, or the wrong one. |
signature_invalid |
401 |
No signature, the wrong one, or one signed too long ago. |
payload_too_large |
413 |
The body is larger than the webhook takes. |
unsupported_media_type |
415 |
A content type no webhook takes. |
malformed |
400 |
The body isn’t what its type says, or the idempotency key isn’t valid. |
idempotency_key_missing |
400 |
The webhook requires a key and the request has none. |
invalid_data |
422 |
The data breaks the webhook’s JSON Schema. |
idempotency_key_reused |
422 |
The key was used for a request with other content. |
idempotency_key_in_use |
409 |
The first request with this key is still being handled. |
limit_exceeded |
503 |
Your plan has no workflow runs left. |
failed |
503 |
Doxtly couldn’t start the workflows. |
Tracing a delivery
Section titled “Tracing a delivery”Every answer a webhook gives carries an X-Request-ID header. Ask your partner for it, then:
- List the requests with
filter[search][eq]set to that id. If you have no id, filter byfilter[webhook][eq]andfilter[since][gte]around the time they sent it. - Get the request.
outcomeandproblemstell you whether it was refused and why. A partner who sent the wrong field getsinvalid_data, andproblemsnames the place in the data. - If it was accepted,
runslists the workflow runs it started. FollowexecutionIdto the run to see what each step did.
If nothing turns up, the request never reached a webhook, or your rate limits refused it. Those aren’t recorded.
List requests
Section titled “List requests”GET/v1/incoming_webhook_requests
Returns the requests to all your webhooks, the newest first. Filter by webhook or outcome to investigate, or use withoutRuns to spot webhooks that take requests while nothing listens.
Key permission: get_webhook_requests
Headers: X-Api-Key, X-Api-Secret
Query parameters
Section titled “Query parameters”The shared list parameters apply.
| Parameter | Values | What it does |
|---|---|---|
filter[webhook][eq] |
A webhook’s id | Requests to one webhook. eq is the only operator. |
filter[outcome][eq] |
An outcome | Requests that ended that way. |
filter[statusCode][eq] |
A status | Requests answered with it. |
filter[since][gte] |
A time with its offset, such as 2026-11-03T00:00:00+01:00 |
Requests from that moment on. A date alone, or a time with no offset, answers 400. gte is the only operator. |
filter[withoutRuns][eq] |
true or 1 |
Accepted requests with no workflow run kept, counted as runsStarted counts them. Any other value answers 400. |
filter[runsStarted][gte] |
A number | Requests by how many runs they started, counted as runsStarted counts them. Also eq, neq, gt, lt, lte, in, notIn and between. A value that isn’t a whole number answers 400. |
filter[search][eq] |
Text | Finds the text in the webhook’s name, the correlationId or the request’s id. Part of it is enough, and letter case doesn’t matter. |
sort |
createdAt, outcome, statusCode, method, runsStarted, webhook.name |
The order. Add a - for descending. Default: newest first. |
Response
Section titled “Response”200 OK with items and meta. Each item has these fields:
| Field | Type | Meaning |
|---|---|---|
id |
UUID | The request’s identifier. |
webhookId |
UUID | The webhook. |
webhookName |
string | Its current name. |
method |
string | The method it came with, which may not be one the webhook takes. |
outcome |
string | An outcome. |
statusCode |
integer | The status it was answered with. |
correlationId |
string | The X-Request-ID it was answered with. |
runsStarted |
integer | How many workflow runs it started that are still kept. A run and its reruns count once; a repeat counts those of the first request, as its runs shows them. |
createdAt |
time | When it arrived. |
Example
Section titled “Example”Today’s calls to one webhook, newest first:
curl -G 'https://api.doxtly.com/v1/incoming_webhook_requests' \ -H "X-Api-Key: $DOXTLY_API_KEY" \ -H "X-Api-Secret: $DOXTLY_API_SECRET" \ --data-urlencode 'filter[webhook][eq]=01a1abe6-38ce-71af-877a-a6a4cccebce5' \ --data-urlencode 'filter[since][gte]=2026-11-05T00:00:00+01:00' \ --data-urlencode 'sort=-createdAt'Response 200:
{ "items": [ { "id": "01a1abe6-5106-7f2d-8e8c-b2e03c005409", "webhookId": "01a1abe6-38ce-71af-877a-a6a4cccebce5", "webhookName": "Billing system: invoice requests", "method": "POST", "outcome": "invalid_data", "statusCode": 422, "correlationId": "ef2acbae-a635-4431-9f10-204a4a13364a", "runsStarted": 0, "createdAt": "2026-11-05T14:29:20+01:00" }, { "id": "01a1abe6-3f2a-7172-91a0-31ddd466483f", "webhookId": "01a1abe6-38ce-71af-877a-a6a4cccebce5", "webhookName": "Billing system: invoice requests", "method": "POST", "outcome": "accepted", "statusCode": 202, "correlationId": "fa59b830-1252-4d29-9810-b5e9a5516f21", "runsStarted": 1, "createdAt": "2026-11-05T14:29:15+01:00" } ], "meta": { "total": 2, "page": 1, "perPage": 20, "totalPages": 1, "hasMore": false, "hasPrevious": false }}Errors
Section titled “Errors”| Status | When |
|---|---|
400 |
A filter, sort field or page can’t be used. For example, filter[webhook][eq] isn’t a UUID. |
401 |
The key or secret is missing or wrong, or the key is switched off or expired. |
403 |
The key wasn’t given get_webhook_requests. |
Get a request
Section titled “Get a request”GET/v1/incoming_webhook_requests/{id}
Returns one request with who sent it, what it contained and the runs it started. This is the first thing to read when a partner says “we sent it”.
Key permission: read_webhook_request
Headers: X-Api-Key, X-Api-Secret
| Path parameter | Type | Meaning |
|---|---|---|
id |
UUID | The request’s identifier. |
Response
Section titled “Response”200 OK, with the fields of a list item plus these:
| Field | Type | Meaning |
|---|---|---|
ipAddress |
string or null | The caller’s address. |
userAgent |
string or null | Its User-Agent, up to 512 characters. |
contentType |
string or null | Its Content-Type. |
bodyBytes |
integer | The body’s size in bytes. For a request refused before the body was read, the size it declared. |
problems |
array of strings | What was wrong with what it brought, such as where the data broke the schema. Never a value it carried. |
signatureValid |
boolean or null | Whether its signature was right. null if no signature was checked. |
accessKeyName |
string or null | The access key it was made with. |
idempotencyKey |
string or null | Its idempotency key. |
replayOfId |
UUID or null | The first request with this key, if it repeated one. |
contentWithheld |
string or null | Why its content wasn’t kept. See below. |
content |
object or null | What it brought. null if withheld. |
runs |
array | The workflow runs it started. A repeat shows the runs of the first request. |
content holds three keys:
| Key | Type | Meaning |
|---|---|---|
query |
object | The address parameters, without a token parameter the webhook authenticates by. |
headers |
object | The headers by lower-case name, each with a list of values. Headers carrying credentials or a signature aren’t kept. |
body |
string | The body as it came. |
contentWithheld is one of:
| Value | Meaning |
|---|---|
setting |
The webhook has storesContent off. |
data_space |
Your organization’s data space was full when it came. Any workflows it started got the data all the same. |
rejected |
It was refused before Doxtly could tell it came from the right caller, so nothing it brought was kept. |
Each entry of runs:
| Field | Type | Meaning |
|---|---|---|
executionId |
UUID | The run. |
workflowId |
UUID | The workflow. |
workflowName |
string | Its name. |
status |
string | running, completed, failed or timeout. |
startedAt |
time | When it started. |
completedAt |
time or null | When it ended. |
Example
Section titled “Example”curl 'https://api.doxtly.com/v1/incoming_webhook_requests/01a1abe6-3f2a-7172-91a0-31ddd466483f' \ -H "X-Api-Key: $DOXTLY_API_KEY" \ -H "X-Api-Secret: $DOXTLY_API_SECRET"Response 200:
{ "id": "01a1abe6-3f2a-7172-91a0-31ddd466483f", "webhookId": "01a1abe6-38ce-71af-877a-a6a4cccebce5", "webhookName": "Billing system: invoice requests", "method": "POST", "outcome": "accepted", "statusCode": 202, "correlationId": "fa59b830-1252-4d29-9810-b5e9a5516f21", "ipAddress": "172.24.0.1", "userAgent": "curl/8.7.1", "contentType": "application/json", "bodyBytes": 81, "runsStarted": 1, "problems": [], "signatureValid": true, "accessKeyName": null, "idempotencyKey": "INV-2026-0147-requested", "replayOfId": null, "contentWithheld": null, "content": { "query": [], "headers": { "content-type": ["application/json"], "idempotency-key": ["INV-2026-0147-requested"], "user-agent": ["curl/8.7.1"] }, "body": "{\"email\":\"anna.kowalska@lindenlogistics.example\",\"invoiceNumber\":\"INV-2026-0147\"}" }, "runs": [ { "executionId": "01a1abe6-3f3f-78e7-b96d-14286c878c1d", "workflowId": "01a1abe6-3bd2-79d1-8b5e-ee498cdbcd5e", "workflowName": "Invoice request intake", "status": "completed", "startedAt": "2026-11-05T14:29:15+01:00", "completedAt": "2026-11-05T14:29:17+01:00" } ], "createdAt": "2026-11-05T14:29:15+01:00"}Shortened: content.headers holds a few more headers.
Errors
Section titled “Errors”| Status | When |
|---|---|
401 |
The key or secret is missing or wrong, or the key is switched off or expired. |
403 |
The key wasn’t given read_webhook_request. |
404 |
id isn’t a UUID, or your organization has no request with this id. It may have been deleted, or removed by retention. |
Delete a request
Section titled “Delete a request”DELETE/v1/incoming_webhook_requests/{id}
Deletes one request and its content. Use it when a request carried personal data you must remove. The runs it started stay. A later repeat that pointed at it keeps its record but no longer names the first request.
Key permission: delete_webhook_request
Headers: X-Api-Key, X-Api-Secret
| Path parameter | Type | Meaning |
|---|---|---|
id |
UUID | The request’s identifier. |
Response
Section titled “Response”204 No Content, with no body.
Example
Section titled “Example”curl -X DELETE 'https://api.doxtly.com/v1/incoming_webhook_requests/01a1abe6-5106-7f2d-8e8c-b2e03c005409' \ -H "X-Api-Key: $DOXTLY_API_KEY" \ -H "X-Api-Secret: $DOXTLY_API_SECRET"The response is 204 with no body.
Errors
Section titled “Errors”| Status | When |
|---|---|
401 |
The key or secret is missing or wrong, or the key is switched off or expired. |
403 |
The key wasn’t given delete_webhook_request. |
404 |
id isn’t a UUID, or your organization has no request with this id. |