List supplement types
In the Esign Comply API, GET /v1/supplement-types lists the catalogue of recognized supplement types, each with its use and suggested fields. Read it at run time without a key instead of hard-coding type names, since new types can be added.
GET /v1/supplement-types · API version 2026-11-21
Authentication
No credential. Anyone can make this call.
Request example
cURL
curl https://esigncomply.com/v1/supplement-types
Node SDK
import { EsignComply } from "esigncomply";
const esc = new EsignComply(process.env.ESIGNCOMPLY_API_KEY);
const { data, error } = await esc.supplements.types();
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
Public, cacheable for 5 minutes. Read the catalogue instead of hard-coding it: new types can be added at any time.
Parameters
This call takes no parameters.
Response
200 OK with a list of SupplementType objects.
{
"object": "list",
"data": [
{
"object": "supplement_type",
"type": "notice.sent",
"use": "A notice the customer sent after or outside the ceremony: renewal reminder, price change, material change, trial ending",
"suggested_fields": [
"notice_kind",
"channel",
"recipient_ref",
"content_sha256"
]
},
{
"object": "supplement_type",
"type": "cancellation.requested",
"use": "The signer asked to cancel",
"suggested_fields": [
"channel",
"requested_at",
"reference"
]
},
{
"object": "supplement_type",
"type": "cancellation.completed",
"use": "The customer completed the cancellation",
"suggested_fields": [
"effective_at",
"refund"
]
}
],
"has_more": false,
"note": "Every field is optional. Any type name is accepted; names under custom.<slug> are yours to define."
}
Response fields
The list has object (always list), data (the items) and has_more. Each item is a SupplementType object:
| Field | Type | Description |
|---|---|---|
object |
string | |
type |
string | |
use |
string | |
suggested_fields |
array of string |
Errors
This call has no error of its own. Like every call made without a credential, it can also return 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/supplement-types
Which credential does GET /v1/supplement-types need?
None. The call needs no key and no token. Anyone who has the values in the request can make it.
Does GET /v1/supplement-types work with a test key?
The call needs no key. It answers for test objects and for live objects alike.
Does GET /v1/supplement-types 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/supplement-types 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/supplement-types?
The API applies no rate limit of its own to this call. It is a public read of data that is the same for everyone.
Does the Node SDK have a method for GET /v1/supplement-types?
Yes: esc.supplements.types() 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.
- Create a file:
POST /v1/files - Retrieve a file:
GET /v1/files/{id} - Create a supplement:
POST /v1/supplements - List supplements:
GET /v1/supplements - Supplements
- Errors: every error code, with what to do.
- API conventions: authentication, idempotency, rate limits and versioning.
Last updated · API version 2026-11-21