Skip to main content
GET
List webhook deliveries
Every webhook delivery in your workspace, newest first, across calls — the settled ones, those nobody knows landed (status: "unknown") and any still sending (status: "pending"). This is how you confirm a configured webhook actually fired — for one call, for one tool across a week, or for everything that failed last night. Required scope: calls:read or tools:read — either one. A reporting key that reads calls already gets these rows in every call’s timeline, so it reads them here too. A row here is the delivery row of a call’s timeline (Get Call → timeline[]), field for field, plus the call_id it happened on and the source that says whether it was real traffic or a rehearsal. One parser reads both. Until this endpoint existed, the log was readable one call at a time, so watching a safeguard’s health across many calls meant paging GET /calls and opening each one.

Parameters

Every parameter is optional; one sent with no value, or one not in this table, is 400 DELIVERIES_QUERY_INVALID.

Reading a delivery

status is the one field to branch on: delivered means your endpoint accepted it, failed means it did not after every attempt (it refused, could not be reached, or — for a workflow tool — answered 2xx with a body the tool could not use), pending means it has not settled yet, and unknown means a workflow tool’s request, or a retry, got no answer in time: your endpoint may or may not have acted on it, so check there before sending it again. A workflow tool’s timeout recorded before 27 September 2026 reads unknown too, like every one since; an agent’s own webhook and a legacy webhook tool that got no answer read failed. response_status is what your endpoint answered with, and is null when nothing answered at all. attempt_count includes the attempt that settled it. at is the row’s time; delivered_at is the same moment on a delivered row and null on a failed, pending or unknown one.

Retries

A retry is a row of its own: its retry_of is the delivery it re-sent, and that delivery’s retried_by points back at it — on this list, on Get Delivery and in a call’s timeline alike. A delivery is retried at most once, so a loop that retries every failure should skip rows whose retried_by is set (they answer 409 DELIVERY_ALREADY_RETRIED) and read the retry instead. chain_root_id is the first delivery of the chain a row belongs to: a first send’s own id, and a retry’s original however many retries in (a call.dnc_blocked event the platform sent again on its own starts at its first delivery). It is the X-Webhook-Delivery-Id every send of that chain carried, so it is the id to dedupe on — see Webhooks. A delivery whose tool is archived cannot be retried until the tool is restored. error_message is one sentence written for a person, only on a failure — for example “Webhook did not respond within 30 seconds”. Its wording may change, so branch on status and error_code, never on the text. error_code is the reason as a code: http_timeout (no answer in time; the row is unknown), legacy_http_timeout (the same from an agent’s own webhook or a legacy webhook tool, which record it failed; a retry sends it without asking), http_network_error, downstream_http_error (see response_status), output_schema_invalid, invalid_json_response, response_too_large, url_resolves_private, or delivery_failed for anything else — the codes a tool test uses. It is null on a delivered or pending row.

Real traffic and rehearsals

source is live when real traffic sent the delivery — a real call, or a lead event (lead.created, lead.updated), which can belong to no call and then has call_id: null — and test when you did: on a test call you placed from the dashboard (the agent’s Test tab or a test dial, which List Calls reports as source: "test"), or with a tool test. Every Test Tool request that actually reaches your endpoint writes a row here as well — a legacy webhook tool’s test at once, a workflow tool’s real test (policy: "allowlist") as soon as its request settles — so the answer to “did my test actually reach the endpoint?” is in the same log as everything else. A mock test sends nothing and writes nothing. A rehearsal happens on no call, so its call_id is null and its event carries a test: prefix; branch on source rather than on the spelling of the event. ?source=live leaves the rehearsals out of a delivery-health report, and ?source=test asks for nothing else. Left out, you get both.

Before the call

A before-call step — a lookup a workflow runs while the call is being prepared — sends its request before the call exists. From 2 October 2026 each one is a row here too, with event call.preparing, the call request it served in call_request_id, and usually call_id: null. It carries the same headers as any other delivery, and its id is the X-Webhook-Delivery-Id it was sent with. On a dashboard test call it reads source: "test" (its event is then test:call.preparing). With no call yet, it has no agent either, so ?agent_id= does not find it: ask by tool_id, and match it to its call through call_request_id (Get Call Request names the call). A live call’s mid-call request is still not a row. tool_name is the name you know the sender by: the tool whose step sent the delivery, or, for an agent not yet on the workflow engine, the agent itself. Names repeat, so every row also carries ids: tool_id is the tool whose step sent it (null when an agent sent in its own name), and agent_id is that agent or, for a tool’s step, the agent whose call it happened on (null for a tool test). They are the ids the tool_id and agent_id filters take, and id is the one a call’s timeline row carries, so the two can be joined. agent_id filters the way you mean it: deliveries the agent sent itself, and deliveries its tools sent on its calls. An agent on the workflow engine sends through its tools, so this filter keeps answering after you move one onto it. Summaries only, exactly as the per-call timeline is. What one delivery sent and what your endpoint answered are on Get Delivery, with every configured header value replaced by [REDACTED] and the address it went to without its query string, and a failed one can be sent again with Retry Delivery. No header value leaves the platform.

Paging

Paging is by cursor, not by offset. This log grows while it is being read — a running campaign writes to it between two pages — so an offset would silently skip or repeat rows. Follow pagination.next_cursor until has_more is false:
A cursor continues only the list it was cut for: send it with the same filters (limit may change). One cut for other filters is 400 DELIVERY_CURSOR_INVALID, saying so, with issues: [{"code": "cursor_invalid", "path": "cursor", …}] — it used to continue the other list from a position that list never had. A cursor this endpoint did not issue is 400 DELIVERY_CURSOR_INVALID too, rather than a silent first page — so a corrupted loop stops instead of re-reading the newest rows for ever. Cursors are signed, as on GET /calls: one built by hand, edited, or taken from the calls list does not decode. A cursor handed out before signing began is refused once; read the first page again and follow the new next_cursor. A from after to is 400 DELIVERIES_QUERY_INVALID too, rather than an empty page that reads as nothing was delivered.

Errors

See Trigger events for which events a delivery can carry and Webhooks for where they are configured.

Authorizations

Authorization
string
header
required

Your Yappr API key (e.g. ypr_live_...). Generate one in the dashboard under Settings → API Keys. No key is 401 MISSING_KEY; a key that is not one of ours, or is revoked, is 401 INVALID_KEY; an expired one is 401 EXPIRED_KEY. A valid key without the scope an operation needs is 403 INSUFFICIENT_SCOPE on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's RATE_LIMIT asks for what is left of the minute, a route's daily cap (RATE_LIMITED) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is 404 ROUTE_NOT_FOUND, and a method a served path does not take is 405 METHOD_NOT_ALLOWED with an Allow header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (POST /calls/ is POST /calls) and refused where it can (GET /calls/). A doubled slash inside a path is merged into one before the request reaches the API (GET //calls is GET /calls).

Query Parameters

tool_id
string<uuid>

Only deliveries sent by this tool's step - a before-call step's included (from 2 October 2026), and on test calls too.

agent_id
string<uuid>

Deliveries this agent sent, plus deliveries its tools sent on its calls. An agent on the workflow engine sends through its tools rather than in its own name, so both are answered here — the filter never reads as "this agent sent nothing" because of where the agent happens to be configured.

call_id
string<uuid>

Only deliveries on this one call — the same rows its timeline carries.

status
enum<string>

failed is the delivery-health query; unknown lists what to check on your side - leaving out a delivery whose chain ended delivered (its retry, or a later retry of it, was accepted), which is settled. Anything outside the list is 400 DELIVERIES_QUERY_INVALID.

Available options:
delivered,
failed,
pending,
unknown
retried
enum<string>

false for only the deliveries not yet sent again (retried_by null) - what a "retry every failure" loop should read - and true for only those that were. Left out, both. Anything else is 400 DELIVERIES_QUERY_INVALID. With either, a page can hold fewer rows than limit while has_more is true.

Available options:
true,
false
source
enum<string>

live for real traffic only (real calls and lead events), test for the rehearsals — what POST /tools/{id}/test sent and what was sent on a test call placed from the dashboard. Left out, both are returned. Anything outside the list is 400 DELIVERIES_QUERY_INVALID.

Available options:
live,
test
from
string<date-time>

Deliveries whose at is on or after this timestamp. A value that is not a real date — including a month-end its month does not have, like 2026-09-31 — is 400 DELIVERIES_QUERY_INVALID.

to
string<date-time>

Deliveries whose at is on or before this timestamp. Refused the same way from is. A date-only value covers that whole day (UTC).

limit
integer
default:50
Required range: x <= 200
cursor
string

pagination.next_cursor from the previous page, sent with the same filters (limit may change). A cursor this endpoint did not issue, or one cut for other filters, is 400 DELIVERY_CURSOR_INVALID (issues[0].code cursor_invalid) rather than a silent first page.

Response

Delivery rows, newest first

data
object[]
pagination
object