Skip to content
DocsMenu

List webhook deliveries

View as Markdown

Open this page inChatGPTClaudeCursor

In the Esign Comply API, GET /v1/webhooks/deliveries lists the webhook delivery history of the key's environment with each attempt count, status and response code. Use it to see what each endpoint answered, as the CLI's webhooks listen command does to forward test deliveries.

GET /v1/webhooks/deliveries · API version 2026-11-21

Authentication

Send a secret key in the Authorization header: Bearer $ESIGNCOMPLY_API_KEY. The key needs full_access permission. Test keys and live keys both work, and each reads and writes the objects of its own environment. Call it from your server: a secret key never goes to a browser. Keys and permissions are described under Authentication.

Request example

cURL

curl "https://esigncomply.com/v1/webhooks/deliveries?endpoint=wh_G33e&limit=3" \
  -H "Authorization: Bearer $ESIGNCOMPLY_API_KEY"

Node SDK

import { EsignComply } from "esigncomply";

const esc = new EsignComply(process.env.ESIGNCOMPLY_API_KEY);

const { data, error } = await esc.webhooks.listDeliveries({ endpoint: "wh_G33e", limit: 3 });

This request ran against the API on November 26, 2026, and the response below is what came back. IDs are example values, and long values are shortened with ....

What it does

Delivery history for the key's environment, with response codes. The CLI's webhooks listen command uses it to forward test deliveries to localhost.

Parameters

Query parameters

Parameter Description
endpoint Only deliveries to this endpoint ID.
status pending, delivered or failed.
since RFC 3339 timestamp. Deliveries created after it, oldest first. Without it, newest first. A value that is not a timestamp returns 400 invalid_request with param: "since".
include payload adds the delivered event body to each item.
limit, after, before Cursor pagination. See API conventions. The cursor is a delivery ID. after continues the list in the order it is in: older deliveries by default, newer ones with since.

webhook_id is the value of the webhook-id header. It is the same for every retry of one event, so handlers can be idempotent on it.

Headers: Esign-Comply-Version (optional, a dated API version). See API conventions.

Response

200 OK with a list of WebhookDelivery objects.

{
  "object": "list",
  "data": [
    {
      "object": "webhook_delivery",
      "id": "whd_rJJ7",
      "endpoint_id": "wh_G33e",
      "webhook_id": "whe_2yQN",
      "type": "conformance.run_completed",
      "status": "delivered",
      "attempts": 1,
      "response_status": 200,
      "response_excerpt": "{\"received\":true}",
      "created_at": "2026-11-26T00:17:53.175Z",
      "delivered_at": "2026-11-26T00:17:53.232Z",
      "last_attempt_at": "2026-11-26T00:17:53.230Z"
    },
    {
      "object": "webhook_delivery",
      "id": "whd_JWee",
      "endpoint_id": "wh_G33e",
      "webhook_id": "whe_6h1T",
      "type": "conformance.run_completed",
      "status": "delivered",
      "attempts": 1,
      "response_status": 200,
      "response_excerpt": "{\"received\":true}",
      "created_at": "2026-11-26T00:17:53.175Z",
      "delivered_at": "2026-11-26T00:17:53.233Z",
      "last_attempt_at": "2026-11-26T00:17:53.230Z"
    },
    {
      "object": "webhook_delivery",
      "id": "whd_ho5E",
      "endpoint_id": "wh_G33e",
      "webhook_id": "whe_cwip",
      "type": "profile.rolled_back",
      "status": "delivered",
      "attempts": 1,
      "response_status": 200,
      "response_excerpt": "{\"received\":true}",
      "created_at": "2026-11-26T00:17:53.174Z",
      "delivered_at": "2026-11-26T00:17:53.231Z",
      "last_attempt_at": "2026-11-26T00:17:53.230Z"
    }
  ],
  "has_more": true
}

Response fields

The list has object (always list), data (the items) and has_more. Each item is a WebhookDelivery object:

Field Type Description
object string
id string
endpoint_id string
webhook_id string
type string
status string
attempts integer
response_status integer
response_excerpt string
created_at datetime
delivered_at datetime
last_attempt_at datetime
payload object

Errors

Code HTTP When
invalid_request 400 The request is malformed: the body is not valid JSON, a known field has the wrong type, a required field is missing, a value is out of range, or a limit was passed (for example metadata over 50 keys, context.extra over 16 KB, event data over 256 KB, an Idempotency-Key over 255 characters, an unknown Esign-Comply-Version).

Like every call made with a secret key, it can also return missing_api_key, invalid_api_key, domain_not_verified, insufficient_permission, region_mismatch, rate_limit_exceeded and internal_error.

Every error has the same body: error.type, error.code, error.message, error.doc_url and error.request_id. See Errors.

Questions about GET /v1/webhooks/deliveries

Which credential does GET /v1/webhooks/deliveries need?

A secret key with full_access permission. Send it as a Bearer token in the Authorization header, from your server only. A session client token is refused with insufficient_permission.

Does GET /v1/webhooks/deliveries work with a test key?

Yes. It works with test keys and live keys. A test key reads and writes test objects only, and a live key works once the domain is verified.

Does GET /v1/webhooks/deliveries count as a signature event?

No. A signature event is counted when a live record is written, by completing a session or by submitting a deferred acceptance. This call writes no record.

Is GET /v1/webhooks/deliveries idempotent?

It is a read, so it is safe to repeat. It takes no Idempotency-Key header.

What is the rate limit for GET /v1/webhooks/deliveries?

The limit is counted for each key and depends on the plan: 2 requests per second on Free, 10 on Starter, 50 on Unlimited and 100 on Enterprise. Past the limit the API answers 429 rate_limit_exceeded with a Retry-After header.

Does the Node SDK have a method for GET /v1/webhooks/deliveries?

Yes: esc.webhooks.listDeliveries() in the esigncomply package. It resolves to { data, error } and does not throw.

Last updated · API version 2026-11-21