Retrieve a record
In the Esign Comply API, GET /v1/records/{id} retrieves one record: the full record for a full_access or read_only key, the status view for a recording_access key. Call it from your server to confirm a record before you create an account or grant access.
GET /v1/records/{id} · 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/records/rec_Z4m8 \
-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.records.get("rec_Z4m8");
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
This is the call your server makes to confirm a record before granting access. What it returns depends on the key.
| Key permission | View |
|---|---|
recording_access |
Status view: enough to confirm the record, and nothing more. |
full_access, read_only |
Full record. |
In the status view seal.timestamp is pending or attached, and seal.anchor is pending or published. seal.anchor describes the public anchor, which only live records get: on a test record it stays pending while status moves on to anchored. See Record statuses.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | Yes | ID of the record. |
Headers: Esign-Comply-Version (optional, a dated API version). See API conventions.
Response
200 OK with a Record object.
{
"object": "record",
"id": "rec_Z4m8",
"livemode": false,
"status": "anchored",
"signed_at": "2026-11-26T00:16:14.024Z",
"signature_level": "simple",
"assurance_level": "L1",
"capture_mode": "direct",
"signer": {
"actor_type": "human",
"class": "consumer",
"country": "US",
"email": "dana@example.org",
"external_id": "user_7c1d",
"name": "Dana Whitfield",
"region": "US-CA"
},
"documents": [
{
"content_hash": "sha256:4e712fcc...",
"document_id": "doc_8Hq2",
"format": "markdown",
"language": "en",
"presentation_mode": "hyperlink",
"render_hash": "sha256:56dbea58...",
"render_match": true,
"title": "Terms of Service",
"type": "terms",
"version_id": "dv_3kT9",
"version_label": "2026-11-21"
},
{
"content_hash": "sha256:8499061f...",
"document_id": "doc_Pv71",
"format": "text",
"language": "en",
"presentation_mode": "hyperlink",
"render_hash": "sha256:ab32791f...",
"render_match": true,
"title": "Privacy Notice",
"type": "privacy_notice",
"version_id": "dv_Lm02",
"version_label": "2026-11-21"
}
],
"record_hash": "sha256:24ccd731...",
"receipt": "eyJhbGciOiJFUzI1NiIsImtp...",
"verify_url": "https://esigncomply.com/verify/rec_Z4m8",
"seal": {
"receipt": "eyJhbGciOiJFUzI1NiIsImtp...",
"kid": "esc-us-test-2026-11",
"ledger_seq": 1,
"prev_hash": "sha256:00000000...",
"entry_hash": "sha256:d0072212...",
"timestamp": {
"authority": "simulated",
"time": "2026-11-26T00:16:15.273Z",
"kind": "rfc3161"
},
"checkpoint": {
"id": "chk_DVot",
"time": "2026-11-26T00:16:15.458Z",
"tree_size": 936,
"root": "f6bec58c...",
"leaf_index": 935
},
"anchor": "pending",
"inclusion_proof": [
"537be848...",
"4b21d881...",
"309687db...",
"8c9c9f24...",
"db0ce026...",
"3bad4467...",
"cfbcd2eb..."
],
"receipt_signed_at": "2026-11-26T00:16:14.139Z",
"committed_at": "2026-11-26T00:16:14.029Z"
},
"metadata": {
"plan": "pro"
},
"quota_locked": false,
"organization": {
"country": null,
"legal_name": "Acme, Inc."
},
"domain": null,
"profile": {
"id": "prof_signup_4f1a",
"version": 1
},
"jurisdictions": {
"applied": [
{
"code": "US-FED",
"reason": "base",
"version": "2026-11-22"
},
{
"code": "US-CA",
"reason": "signer_region",
"version": "2026-11-21"
}
],
"governing_law": null,
"mode": "auto",
"rule_set_version": "2026.11.22",
"rules_fired": [
{
"id": "US-01",
"state": "enforce"
},
{
"id": "US-02",
"state": "enforce"
},
{
"id": "US-03",
"state": null
}
],
"warnings": []
},
"events": [
{
"client_time": null,
"data": {
"declared_url": "http://localhost:3000/signup",
"documents": [
"dv_3kT9",
"dv_Lm02"
],
"profile": {
"id": "prof_signup_4f1a",
"version": 1
},
"request_id": "req_MQ47",
"signer": {
"class": "consumer",
"country": "US",
"email": "dana@example.org",
"external_id": "user_7c1d",
"name": "Dana Whitfield",
"region": "US-CA"
}
},
"event_hash": "sha256:5f7027ab...",
"id": "evt_St1W",
"sequence": 1,
"server_time": "2026-11-26T00:16:11.546Z",
"step": "session.created",
"tag": "asserted",
"type": "session.created"
},
{
"client_time": "2026-11-26T00:16:11.987Z",
"data": {
"language": "en-US",
"page_url": "http://localhost:3000/signup",
"sdk_version": "1.0.4",
"timezone": "America/Los_Angeles",
"viewport": {
"height": 844,
"width": 390
}
},
"event_hash": "sha256:a3439386...",
"id": "evt_JbxE",
"sequence": 2,
"server_time": "2026-11-26T00:16:12.249Z",
"step": "client.attached",
"tag": "observed",
"type": "client.attached"
},
{
"client_time": "2026-11-26T00:16:12.264Z",
"data": {
"link_style": {
"contrast_ratio": 7.2,
"font_px": 14,
"underlined": true
},
"link_target_render_hash": "sha256:56dbea58...",
"link_text": "Terms of Service",
"link_visible": true,
"mode": "hyperlink",
"viewport": {
"height": 844,
"width": 390
}
},
"event_hash": "sha256:03cbd8c4...",
"id": "evt_Rtbw",
"sequence": 3,
"server_time": "2026-11-26T00:16:12.372Z",
"step": "document.presented:dv_3kT9",
"tag": "observed",
"type": "document.presented",
"version_id": "dv_3kT9"
}
],
"network": {
"accept_language": null,
"ip": "203.0.113.7",
"origin": null,
"page_url": "http://localhost:3000/signup",
"user_agent": "curl/8.21.0"
},
"notice": {
"event_id": "evt_Kpv4",
"source": "live_capture",
"text": "By checking the box and clicking Create account, you agree to the Terms of Service and Privacy Notice.",
"text_hash": "sha256:7dc48638...",
"viewport": {
"height": 844,
"width": 390
}
},
"signature": {
"button_text": "Create account",
"client_time": "2026-11-26T00:16:13.519Z",
"label_text": "I agree to the Terms of Service and Privacy Notice",
"method": "checkbox"
},
"context": {
"facts": {},
"locale": "en-US",
"purpose": "account_signup",
"url": "http://localhost:3000/signup"
},
"retention_floor": null,
"guidance_release": "2026.11.2",
"api_version": "2026-11-21",
"conformance": {
"advisory": true,
"rules_version": "2026.11.2",
"results": [
{
"rule": "CR-08",
"status": "pass",
"message": "The link resolves to the registered version.",
"measurement": {
"fix": null,
"mode": "hyperlink",
"maps_to": [
"US-02",
"US-14"
],
"link_href": null,
"event_type": "document.presented",
"target_checked": true,
"render_hash_registered": "sha256:56dbea58...",
"link_target_render_hash": "sha256:56dbea58..."
}
},
{
"rule": "CR-05",
"status": "pass",
"message": "Document link differs from surrounding text by colour.",
"measurement": {
"fix": null,
"font_px": 14,
"maps_to": [
"US-11"
],
"event_type": "document.presented",
"underlined": true,
"link_visible": true,
"contrast_ratio": 7.2
}
},
{
"rule": "CR-08",
"status": "pass",
"message": "The link resolves to the registered version.",
"measurement": {
"fix": null,
"mode": "hyperlink",
"maps_to": [
"US-02",
"US-14"
],
"link_href": null,
"event_type": "document.presented",
"target_checked": true,
"render_hash_registered": "sha256:ab32791f...",
"link_target_render_hash": "sha256:ab32791f..."
}
}
]
},
"advisories": [],
"copy_delivery": {
"channel": "email",
"status": "disabled",
"time": "2026-11-26T00:16:15.329Z"
},
"annotations": [
{
"id": "ann_ovFH",
"type": "legal_hold",
"actor": "customer:key:key_Doqa",
"created_at": "2026-11-26T00:16:51.382Z",
"data": {
"note": "Matter 2026-0412. Review on 2027-06-01."
},
"ledger_seq": 7
}
],
"supplements": [
{
"id": "sup_5Hc1",
"type": "notice.sent",
"received_at": "2026-11-26T00:16:55.721Z",
"occurred_at": "2027-01-04T15:02:11.000Z",
"content_hash": "sha256:6ef213d9...",
"withdrawn": false
}
],
"certificates": [
{
"id": "crt_7Hd2",
"type": "contemporaneous_record",
"status": "issued",
"issued_at": "2026-11-26T00:17:06.233Z",
"requester_class": "customer",
"charge_class": "test"
}
]
}
Response fields
| Field | Type | Description |
|---|---|---|
object |
string | |
id |
string | |
livemode |
boolean | |
status |
string | pending_seal, recorded, timestamped, anchored, disputed or voided. A live record is anchored when a public anchor covers its checkpoint; a test record when its test checkpoint is signed. |
signed_at |
datetime | Server receipt time of the final event. |
signature_level |
string | simple or not_applicable for the base product. |
assurance_level |
string | |
capture_mode |
string | |
signer |
object | |
documents |
array | |
record_hash |
string | |
receipt |
string | Compact JWS. null while pending_seal. |
verify_url |
string | |
seal |
object | The ledger position, the timestamp, the checkpoint and the public anchor. anchor is pending on every test record: test checkpoints are not anchored publicly. |
organization |
object | |
domain |
string | |
profile |
object | |
jurisdictions |
object | |
events |
array | |
notice |
object | |
signature |
object | |
context |
object | |
metadata |
object | |
conformance |
object | Advisory. Stored beside the record and outside the sealed hash. On the completion response: { advisory, rules_version, enforcement, findings[], reported[] }, where reported[] lists every block finding a live record was sealed with. |
advisories |
array | Checks in the advise state that were not met: { rule, status, finding, notice }. |
copy_delivery |
object | |
annotations |
array | |
supplements |
array | |
certificates |
array | |
guidance_release |
string | |
api_version |
string | |
quota_locked |
boolean |
What to check at confirmation
const { data: record, error } = await esc.records.get(recordId);
if (error) throw new Error("Esign Comply confirmation failed");
const expected = [...expectedVersionIds].sort();
const actual = record.documents.map((d) => d.version_id).sort();
const ok =
["recorded", "timestamped", "anchored"].includes(record.status) &&
record.signer.external_id === expectedSignerId &&
record.livemode === expectedLivemode &&
JSON.stringify(actual) === JSON.stringify(expected);
if (!ok) throw new Error("Unexpected record");
// Only now grant access.
expectedSignerId, expectedLivemode and expectedVersionIds come from state your server saved when it created the session, never from the browser.
Record fields
Every field is tagged by where it came from. Observed: seen by Esign Comply directly from the signer's device, or generated by Esign Comply. Asserted: supplied by you and not verified. See Observed and asserted.
| Field | Tag | Description |
|---|---|---|
id, livemode |
Observed | Record identifier. Live or test. |
status |
Observed | See "Record statuses". |
signed_at |
Observed | Server receipt time of the final event. It is not an independently verified act time, and it is not the timestamp authority's time. |
signature_level |
Service classification | simple for L1 to L3 signing. not_applicable where signing intent is not evidenced. advanced and qualified are reserved values that the base product does not produce. |
assurance_level |
Observed | L1, L2 or L3. |
capture_mode |
Observed | direct (browser channel), server_only, deferred, imported. |
organization |
Asserted at signup | Legal name and country of your organization. |
domain |
Observed | Registered domain. Null for test records made without a registered domain. |
profile |
Observed | Profile ID and version. |
jurisdictions |
Mixed | mode. applied[] with pack code, version and reason (observed). rule_set_version. rules_fired[] with each condition's state as the session ran it: enforce (a failed Block check refuses a live signature: live sessions on a domain with blocking on, and every test session), advise (the signature is recorded and the finding reported: live sessions on a domain set to notify, and rules the profile has not adopted), or null for a rule with no record condition. governing_law (asserted). warnings[] from session creation. |
signer.external_id, name, email, phone, class, country, region, locality, actor_type |
Asserted | Supplied by you. region is normalized to ISO 3166-2. |
signer.verified_email, signer.verification[] |
Observed | Present when Esign Comply verified control of the email address or a passkey: method, masked destination, time, attempts. |
signer.typed_name, signer.drawn_signature |
Observed | What the signer entered. |
documents[] |
Observed | Version ID, title, type, version label, language, format, content_hash, render_hash, render_match (true, false, or null when no comparison was reported) and presentation_mode. |
events[] |
Mixed | The ordered ceremony events, each with its own tag, server_time, client_time, data and event_hash. |
network |
Observed | IP address, user agent, accept-language, origin and page URL of the completing request. Absent under minimal capture and for server_only sessions. |
notice |
Mixed | The captured assent notice: source (live_capture or registered_artifact), text and its hash. Null when nothing was captured. |
signature |
Observed | Method, exact label text, exact button text. |
context.url, locale, purpose, facts, notes, extra |
Asserted | What you sent at session creation. |
metadata |
Asserted | Your key-value pairs. |
retention_floor |
Observed | The retention floor the applied packs recorded, or null. |
guidance_release, api_version |
Observed | The guidance release and dated API version in force. |
conformance |
Advisory | Rule-set version and result per rule. Stored beside the record and excluded from the sealed hash. The underlying measurements are sealed inside events[]. |
advisories[] |
Advisory | Checks in the advise state that were evaluated and not met: rule, status (warn or block), finding, notice. A live record sealed on a domain set to notify lists here every rule the signature failed. See When a live signature fails a rule. |
copy_delivery |
Mixed | Receipt email channel, status (queued, delivered, bounced, disabled) and time. |
record_hash |
Observed | SHA-256 over a random salt and the canonical record (RFC 8785). |
receipt, verify_url |
Observed | The signed receipt and the verification page for this record. |
seal |
Observed | Receipt, key ID, ledger sequence, previous-entry hash, entry hash, timestamp (pending, or authority and time), checkpoint (pending, or ID, time, tree size, root, leaf index), public anchor (pending, or kind, time, reference; always pending on a test record), inclusion proof. |
annotations[] |
Observed | Later facts Esign Comply observed or enforced. Each is its own ledger entry. |
supplements[] |
Customer-supplied | The first 20 supplements for this record: ID, type, received_at, occurred_at, hash, withdrawn. Outside the sealed hash. Page the rest through GET /v1/supplements. |
certificates[] |
Observed | On-request certificates issued for this record: ID, type, status, issue time, requester class, charge class. |
quota_locked |
Observed | See "Quota lock". |
After an erasure the content fields are gone. The response then carries content_available: false and a content_note, together with the fields that remain: status, hash, seal and ledger position.
Errors
| Code | HTTP | When |
|---|---|---|
not_found |
404 | When the record does not exist in this domain and environment, or is voided. Test records are not visible to live keys and the reverse. |
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/records/{id}
Which credential does GET /v1/records/{id} 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/records/{id} 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/records/{id} 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/records/{id} 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/records/{id}?
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/records/{id}?
Yes: esc.records.get() in the esigncomply package. It resolves to { data, error } and does not throw.
Related
- Records: the overview of the resource and all of its operations.
- Download the evidence report:
GET /v1/records/{id}/report - Download the evidence package:
GET /v1/records/{id}/evidence - Retrieve the receipt of a record:
GET /v1/records/{id}/receipt - Add an annotation to a record:
POST /v1/records/{id}/annotations - Server confirmation
- Evidence
- Errors: every error code, with what to do.
- API conventions: authentication, idempotency, rate limits and versioning.
Last updated · API version 2026-11-21