List Webhook Attempts
curl -s "https://api.yoagent.dev/v0/webhooks/whk_01je56wqswfmn9pgbc1wq8tjgq/attempts" \ -H "Authorization: Bearer $YOAGENT_KEY"const response = await fetch("https://api.yoagent.dev/v0/webhooks/whk_01je56wqswfmn9pgbc1wq8tjgq/attempts", { headers: { Authorization: `Bearer ${process.env.YOAGENT_KEY}`, },});if (!response.ok) throw new Error(await response.text());const data = await response.json();import os
import requests
response = requests.get( "https://api.yoagent.dev/v0/webhooks/whk_01je56wqswfmn9pgbc1wq8tjgq/attempts", headers={"Authorization": f"Bearer {os.environ['YOAGENT_KEY']}"}, timeout=60,)response.raise_for_status()data = response.json()List a webhook’s delivery attempts, newest first: delivered, failed (with the URL’s status or why), or skipped by the organization’s per-minute limit (skipped); kept 7 days.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
A page of a webhook’s delivery log, newest first.
object
One delivery attempt of an event to a webhook, or one skipped by the organization’s per-minute limit.
object
The webhook-id header the URL got (evt_…): the same on every retry.
What the event is about: a message (msg_…), one recipient of a sent message (dlv_…; the body names
its message and address), or a custom domain (dom_…).
The delivery’s try, 1 the first time (when retries come: the webhooks’ event docs).
delivered: 2xx. failed: no 2xx; failures in a row pause the webhook (disabled_reason: failing).
skipped: not sent, never sent later — the organization’s webhook deliveries per minute were used up.
Why it failed when the URL did not answer 2xx; null otherwise.
Why an attempt failed — our own short reason, never the error’s text (the URL may hold a token, and the log is shown to who may only read webhooks).
Example
{ "count": 1, "next_page_token": null, "attempts": [ { "attempt_id": "wha_01je56wqswfmn9pgbc1wq8tjgq", "event_id": "evt_01je56wqswfmn9pgbc1wq8tjgq", "event_type": "domain.verified", "subject_id": "dom_01je56wqswfmn9pgbc1wq8tjgq", "attempt": 1, "outcome": "delivered", "status_code": 200, "error": null, "duration_ms": 182, "created_at": "2026-12-01T12:00:00Z" } ]}default
Section titled “default”An error (400, 401, 403, 404, 405, 409, 413, 429, 500, 503), in the one shape every call answers: Errors.