List supplements
In the Esign Comply API, GET /v1/supplements lists supplements by time received, newest first, with optional filters by subject, type, rule ID and label. Use it to page through the supplements of a record beyond the first 20 that the record object lists.
GET /v1/supplements · API version 2026-11-21
Authentication
Send a secret key in the Authorization header: Bearer $ESIGNCOMPLY_API_KEY. The key needs any 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/supplements?subject=rec_Z4m8&type=notice.sent&limit=20" \
-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.supplements.list({ subject: "rec_Z4m8", type: "notice.sent", limit: 20 });
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 ....
Parameters
Query parameters
| Parameter | Description |
|---|---|
subject |
A record, session or document version ID, a signer's external ID, or the word domain for domain-level supplements. |
type |
Exact type name. |
rule_id |
Supplements that name this rule ID. |
label |
Supplements that carry this label. |
received_after, received_before |
RFC 3339 bounds on received_at. A value that is not a timestamp returns 400 invalid_request with param set to the parameter. |
limit, after, before |
Cursor pagination. See API conventions. |
Each item is the full supplement object. Results are ordered by received_at, newest first.
Headers: Esign-Comply-Version (optional, a dated API version). See API conventions.
Response
200 OK with a list of Supplement objects.
{
"object": "list",
"data": [
{
"object": "supplement",
"id": "sup_5Hc1",
"livemode": false,
"subject": {
"record": "rec_Z4m8"
},
"type": "notice.sent",
"type_recognized": true,
"provenance": "customer_supplied",
"occurred_at": "2027-01-04T15:02:11.000Z",
"received_at": "2026-11-26T00:16:55.721Z",
"gap_seconds": -3422715,
"rule_ids": [],
"labels": [
"renewal",
"2027"
],
"content_hash": "sha256:6ef213d9...",
"size": 426,
"has_text": true,
"has_data": true,
"files": [
{
"id": "fil_dZ8g",
"name": "renewal-notice.eml",
"size": 237,
"sha256": "sha256:f96e3ce7...",
"status": "stored"
}
],
"supersedes": null,
"withdrawn": false,
"withdrawn_at": null,
"submitted_by": "key:key_Doqa",
"seal": {
"receipt": "eyJhbGciOiJFUzI1NiIsImtp...",
"ledger_seq": 9,
"status": "anchored"
},
"note": "Esign Comply received and sealed this material at the time shown and did not verify it.",
"warnings": [
"suggested_field_absent:recipient_ref",
"suggested_field_absent:content_sha256"
]
}
],
"has_more": false
}
Response fields
The list has object (always list), data (the items) and has_more. Each item is a Supplement object:
| Field | Type | Description |
|---|---|---|
object |
string | |
id |
string | |
livemode |
boolean | |
subject |
object | |
type |
string | |
type_recognized |
boolean | |
provenance |
string | Always "customer_supplied". |
occurred_at |
datetime | Asserted by the customer. |
received_at |
datetime | Esign Comply server time. |
content_hash |
string | |
files |
array | |
seal |
object | |
rule_ids |
array of string | |
labels |
array of string | |
supersedes |
string | |
withdrawn |
boolean | |
warnings |
array of string |
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/supplements
Which credential does GET /v1/supplements need?
A secret key with any 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/supplements 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/supplements 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/supplements 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/supplements?
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/supplements?
Yes: esc.supplements.list() in the esigncomply package. It resolves to { data, error } and does not throw.
Related
- Supplements and files: the overview of the resource and all of its operations.
- Retrieve a supplement:
GET /v1/supplements/{id} - Read supplement content:
GET /v1/supplements/{id}/content - Withdraw a supplement:
DELETE /v1/supplements/{id} - List supplement types:
GET /v1/supplement-types - Supplements
- Errors: every error code, with what to do.
- API conventions: authentication, idempotency, rate limits and versioning.
Last updated · API version 2026-11-21