Skip to content
The Consortium

Intelligence APIOperational

GET_v1_webhooks_id_deliveries

Deliveries of a webhook (designed)

Request

Try it

Planned: it answers with a typed refusal · No credits

https://api.nexustandards.com

GET/v1/webhooks/{id}/deliveries

curl -s "https://api.nexustandards.com/v1/webhooks/<id>/deliveries"
const res = await fetch("https://api.nexustandards.com/v1/webhooks/<id>/deliveries");
const { data, meta } = await res.json();
import json, urllib.request

req = urllib.request.Request("https://api.nexustandards.com/v1/webhooks/<id>/deliveries")
with urllib.request.urlopen(req) as res:
    answer = json.load(res)

200 OKapplication/json

{
  "data": [
    {
      "event_id": "string",
      "type": "string",
      "state": "pending",
      "attempts": 0,
      "subject": "string"
    }
  ],
  "meta": {}
}

The delivery log of a webhook, newest first (state pending, delivered or dead. Default when omitted: every state.; at most 200). Needs a Passport bearer token with the scope nxs.webhook_subscribe:write; the webhooks are the caller's own. Designed until the API's webhook database is switched on (STANDARDS_API_DATABASE_URL): every route then answers 503 WEBHOOKS_OFF, and the change feed at /v1/changes carries the same changes. Availability: Planned (answers a typed problem response until built).

Parameters

Parameters

  • idrequired

    path · string

    Webhook subscription id (UUID, RFC 9562)

  • stateoptional

    query · string · pending | delivered | dead

    pending, delivered or dead. Default when omitted: every state.

  • qoptional

    query · string

    Text in the event type, subject or last error (lower-cased match, at most 200 characters)

  • limitoptional

    query · integer

    At most this many, 1 to 200 (default 50)

  • cursoroptional

    query · string

    Opaque cursor from meta.page.next or the Link header (rel next); newest first

Answers

Responses

  • 200

    The caller's own webhook data

  • 304

    Not modified (If-None-Match matched the snapshot digest)

  • 400Problem, RFC 9457

    Bad request (stable code in the problem)

  • 401Problem, RFC 9457

    Passport bearer token missing or invalid

  • 403Problem, RFC 9457

    Refusal

  • 404Problem, RFC 9457

    Not found, or version not in the snapshot

  • 414

  • 429Problem, RFC 9457

    Open-tier rate limit

  • 500Problem, RFC 9457

    Internal error

  • 501Problem, RFC 9457

    A planned route (the Planned problem, urn:therisk:problem:planned, with its own code and what it needs), or writes off

Get started

Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.