List deliveries for a webhook subscription
AI agents: read /llms.txt; add .md to any page URL. This page as Markdown: /reference/webhook-subscriptions/v1-webhook-subscription-log.md. Index of every page and the rules for every call: /llms.txt. Guides and concepts in one file: /llms-full.txt. OpenAPI: /openapi.json.
GET/
Returns the subscription's deliveries, newest first, one page at a time. Each delivery is one event sent to this subscription, with the latest attempt's status code and error, when YoPrint retries next, and the event exactly as it was sent (message).
Use it to debug your endpoint: status_code is what your endpoint answered (999 when it didn't answer or YoPrint didn't send), and error says what went wrong in a sentence of YoPrint's, such as "The receiver answered with HTTP 500." YoPrint doesn't keep your endpoint's reply, so log it on your side.
Path parameters
Your team slug, shown as Team ID next to your API key in Profile.
- Example
your-team
- Example
The webhook subscription's
id: a hash id from an earlier answer. Only hash ids work here; anything else answers 404page_not_found.- Example
V4keXwwxMQyXw7
- Example
Query parameters
pageintegerThe page to return. A page holds the team's page size (50 unless the team changed it).
per_pageis not read.- Default
1 - Minimum 1
- Example
1
- Default
Request body
This operation takes no request body.
Response
200Successful response.
Fields of each item (13)
Attempts made so far: 0 before the first, at most 3.
When the delivery was queued.
Why the delivery failed. Null after a successful attempt (
status: success). YoPrint never stores your endpoint's response body. For a failed attempt, this is one of:The receiver answered with HTTP {status}.(your endpoint returned an HTTP status other than 200)Could not reach the receiver (connection, DNS, TLS or timeout error).Delivery failed before the receiver answered.Not sent: the webhook URL does not reach a public internet address.Not sent: this server cannot hold the connection to the checked receiver address.
The delivery id: one event to one subscription.
Child fields (5)
When the event happened.
The event id. Every attempt to deliver this event, to every subscription, carries the same id.
The record the event is about, as it was when the event happened. Its fields depend on the event; see "Events" on Create a webhook subscription.
The event name.
When YoPrint tries again, or null when it will not (after a success, or after the last attempt).
When the latest attempt was made. Before the first attempt (
statuspending), when the delivery was queued. Never null.pendingbefore the first attempt,successwhen the latest attempt got exactly200,errorfor any other status code.- One of:
"pending","success","error"
- One of:
The HTTP status your endpoint returned on the latest attempt (such as
200or500). Set to999when no response was received (for example, connection timeouts, DNS lookup failures, TLS errors, or if the request was blocked before sending). Null before the first attempt.The destination URL for the latest delivery attempt: the full URL on this API. AI apps reading deliveries through YoPrint's MCP server see only the origin (scheme and host, such as
https://example.com).The event id, the same as
idin the body YoPrint sent.
paginationobjectChild fields (6)
Links to the neighbouring pages:
previousandnext, each present only when that page exists. An empty list,[], when there is only one page.
Errors
401The API key is missing or wrong (
unauthenticated).- When
- The API key is missing or wrong.
- Fix
- Send your personal API key as
Authorization: Bearer YOUR_API_KEY.
403You are not allowed to do this.
api_access_not_in_plan: your team's plan doesn't include API access (Pro and above, with an active subscription or trial), so every request answers this until the team upgrades. When your role lacks the permission the operation needs, the body is only{"message": "Insufficient Permission"}. Other refusals use the error envelope, withunauthorizedoruser_is_not_authorized.404Not found.
page_not_found: the team slug is unknown, you are not a member of the team, or an id in the path is not one of this team's.code: null, with a message that starts "No query results for": there is no record with that id.- When
- No webhook subscription with that id on this team (
error.codeis null anderror.messagestarts "No query results"), the id is not one of this team's hash ids, or you are not a member of the team (bothpage_not_found). - Fix
- Use an
idfrom the list operation and check the team slug.
Notes
- A delivery shows only its latest attempt.
attemptcounts them. statusissuccessonly for exactly200. Any other2xxshows aserror, even though YoPrint stopped retrying.- The path parameter is the subscription id.
Related
- GETShow a webhook subscription
/v1/ api/ store/ {team_slug}/ setting/ webhook_subscription/ {hash_id} - PATCHTouch a webhook subscription
/v1/ api/ store/ {team_slug}/ setting/ webhook_subscription/ {hash_id}
