Open a shared certificate
In the Esign Comply API, POST /v1/certificate-shares/{id} opens a shared certificate with the secret from the link and returns the certificate as JSON or as a PDF. The share page at /verify/c/{id} calls it without a key for anyone who holds the full link.
POST /v1/certificate-shares/{id} · API version 2026-11-21
Authentication
No credential. Anyone can make this call.
Request example
cURL
curl https://esigncomply.com/v1/certificate-shares/shr_2Vk8 \
-H "Content-Type: application/json" \
-d '{
"secret": "MKqvw4..."
}'
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
A share link has the form /verify/c/{id}#{secret}. The secret is in the URL fragment, which a browser never sends, so the share page reads it and sends it here in the body. {id} is the share ID (shr_...) or the certificate ID (crt_...): the links that Create a certificate share link returns carry the certificate ID.
Opening, downloading and verifying a shared certificate is free for everyone. A certificate ID alone opens nothing.
The certificate is shown the way a third party sees it: the requester by class only, without network facts, and with the manifest of a set cut to its first 200 rows (manifest_total gives the full count). With format: "pdf" the response is the certificate as application/pdf. Each read as JSON adds one to the opens count of the share link.
The request body is limited to 4,096 bytes.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | Yes | The share ID (shr_...) or the certificate ID (crt_...) from the share link. |
secret |
body | string | Yes | The secret of the share link: the part of the link after #. 256 characters at most. |
format |
body | string: json, pdf |
No | Default json. |
Response
200 OK with a SharedCertificate object.
{
"object": "certificate_share",
"id": "shr_2Vk8",
"expires_at": "2026-12-26T00:17:09.330Z",
"certificate": {
"object": "certificate",
"id": "crt_7Hd2",
"type": "contemporaneous_record",
"status": "issued",
"livemode": false,
"record_count": 1,
"issued_at": "2026-11-26T00:17:06.233Z",
"certificate_hash": "sha256:b143da65...",
"statement": {
"title": "Contemporaneous Record Statement",
"certificate_id": "crt_7Hd2",
"issued_at": "2026-11-26T00:17:06.233Z",
"livemode": false,
"record_id": "rec_Z4m8",
"requester": {
"class": "customer"
},
"reference": "Matter 2026-0412",
"customer": "Acme, Inc.",
"domain": null,
"statement": "Esign Comply's systems created record rec_Z4m8 by an automated process. Each event in it was recorded when Esign Comply's server received it from the signer's browser session, at the server receipt time shown. Esign Comply makes and keeps records of this kind in the regular course of providing its recording service to Acme, Inc., and making them is its regular practice. The record was sealed at 2026-11-26T00:16:14.139Z. On 2026-11-26T00:17:06.233Z Esign Comply recomputed the hash of the stored record and found that it matches the hash committed to the seal, the external timestamp token and the ledger checkpoint, with the results shown below. This statement was issued on 2026-11-26T00:17:06.233Z; the record it describes was made at the times shown in the chronology.",
"capture_mode": "direct",
"capture_mode_meaning": "direct: the events were received from the signer's browser session as they occurred.",
"chronology": {
"events": [
{
"type": "session.created",
"tag": "asserted",
"browser_reported_time": null,
"server_receipt_time": "2026-11-26T00:16:11.546Z",
"difference_ms": null
},
{
"type": "client.attached",
"tag": "observed",
"browser_reported_time": "2026-11-26T00:16:11.987Z",
"server_receipt_time": "2026-11-26T00:16:12.249Z",
"difference_ms": 262
},
{
"type": "document.presented",
"tag": "observed",
"browser_reported_time": "2026-11-26T00:16:12.264Z",
"server_receipt_time": "2026-11-26T00:16:12.372Z",
"difference_ms": 108
}
],
"first_event_received_at": "2026-11-26T00:16:11.546Z",
"final_event_received_at": "2026-11-26T00:16:14.024Z",
"record_committed_at": "2026-11-26T00:16:14.029Z",
"receipt_signed_at": "2026-11-26T00:16:14.139Z",
"receipt_key": "esc-us-test-2026-11",
"external_timestamp": null,
"checkpoint": {
"id": "chk_DVot",
"time": "2026-11-26T00:16:15.458Z",
"tree_size": 936
},
"public_anchor": "pending"
},
"intervals_ms": {
"final_event_to_commit": 5,
"commit_to_receipt": 110,
"receipt_to_external_timestamp": null,
"receipt_to_checkpoint": 1319,
"receipt_to_public_anchor": null
},
"independent_time_bound": [
"No external timestamp token is attached to this record.",
"The public anchor is pending. A later request includes it."
],
"verification": {
"checked_at": "2026-11-26T00:17:06.229Z",
"record_hash": "pass",
"receipt_signature": "pass",
"ledger_entry": "pass",
"timestamp_token": "not_applicable",
"inclusion_proof": "pass",
"consistency_proof": "pass",
"storage_lock": "not_applicable",
"detail": {
"receipt_signature": "key esc-us-test-2026-11",
"timestamp_token": "Test record on the Free plan: no external timestamp.",
"inclusion_proof": "checkpoint chk_DVot, tree size 936",
"consistency_proof": "from tree size 936 to 946 (checkpoint chk_sgkM)",
"storage_lock": "Development vault driver: no Object Lock. Configure ESC_VAULT_DRIVER=s3 for write-once storage."
}
},
"record_hash": "sha256:24ccd731...",
"later_history": {
"annotations": [
{
"type": "legal_hold",
"time": "2026-11-26T00:16:51.382Z",
"actor": "customer"
}
],
"earlier_certificates": [],
"note": "Sealed content has no update or delete path for any application role."
},
"process_in_force": {
"system_description": {
"version": "2026-11-21"
},
"jurisdictions": [
{
"code": "US-FED",
"reason": "base",
"version": "2026-11-22"
},
{
"code": "US-CA",
"reason": "signer_region",
"version": "2026-11-21"
}
],
"guidance_release": "2026.11.2",
"time_source": "Esign Comply application servers, synchronised by the hosting platform's time service (UTC)."
},
"jurisdiction_wording": {
"requested": "auto",
"codes": [
"US-FED",
"US-CA"
],
"variants": [
{
"code": "US-FED",
"rule": "US-38",
"basis": [
{
"url": "https://www.law.cornell.edu/rules/fre/rule_803",
"title": "FRE 803(6)"
},
{
"url": "https://www.law.cornell.edu/rules/fre/rule_902",
"title": "FRE 902"
},
{
"url": "https://www.govinfo.gov/content/pkg/USCODE-2024-title28/html/USCODE-2024-title28-partV-chap115-sec1746.htm",
"title": "28 U.S.C. § 1746"
}
],
"forum": "Federal",
"notes": "Analogue to FRE 902(13) and (14): Yes. What the statement must not claim there: System or copy authentication proves hearsay foundation, authorship, act time or truth. Limit in this version (Federal foreign elements): Verify the applicable criminal-penalty and notice rules before relying on a declaration involving foreign records or a foreign signing. Use testimony or another authorized procedure where the standard form is insufficient. Time evidence and ledger claims. RFC 3161 tokens. May say: A verified token supports existence of the matching datum by the authority's stated time, subject to validation and clock accuracy. Must not say: It proves exact creation or signing time, signer identity, truth or automatic admissibility. Hash matching. May say: The recomputed digest of identified bytes matches the identified sealed digest; matching source and export hashes support copy identity. Must not say: Matching hashes prove accuracy of the original, authorship or that no intermediate alteration occurred. Public ledger anchors. May say: The inclusion proof links the record commitment to an identified checkpoint; a verified public anchor corroborates existence of that checkpoint by the anchor time. Must not say: The product qualifies by default under Vermont, Arizona or Illinois blockchain statutes; anchoring proves underlying act time, attribution or truth. \"Contemporaneous\". May say: Product shorthand for the original record's timing; use the rule's words and distinguish server receipt, reported act time and certificate issuance. Must not say: The later certificate was itself made at the event, or \"contemporaneous\" is a statutory status.",
"authentication": "FRE 902(13) or (14): separately certify accurate system output or verified copy.",
"timing_wording": "made at or near the time",
"notice_reminder": "Give reasonable written notice before trial or hearing and make record and certification available for inspection. No fixed interval.",
"business_records": "FRE 803(6); for FRE 902(11), state knowledgeable source, keeping and regular practice.",
"declaration_form": "Sign and date the § 1746 unsworn declaration. For 902(11), state knowledgeable source, keeping and regular practice. For 902(13) or (14), separately certify accurate system output or verified copy. Check the separate rule if the certification is for foreign records or signed abroad.",
"pack_version": "2026-11-22"
},
{
"code": "US-CA",
"rule": "CA-14",
"basis": [
{
"url": "https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=EVID§ionNum=1271",
"title": "Evid. Code § 1271"
},
{
"url": "https://www.leginfo.legislature.ca.gov/faces/codes_displayText.xhtml?lawCode=EVID&division=11.&title=&part=&chapter=2.&article=4.",
"title": "Evid. Code §§ 1560-1562"
},
{
"url": "https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=EVID§ionNum=1552",
"title": "Evid. Code § 1552"
}
],
"forum": "California",
"notes": "Analogue to FRE 902(13) and (14): No. §§ 1552 and 1553 address accuracy of certain printouts. What the statement must not claim there: A printout presumption establishes signer identity; a routine request is equivalent to a subpoena. Limit in this version (California and New York): Do not turn their scoped production procedures into a generic certification for every record. Arrange a witness if outside those procedures or if the other party raises a foundation challenge that requires one (Evid. Code §§ 1560-1562, CPLR 3122-a).",
"authentication": "No analogue to FRE 902(13) and (14). §§ 1552 and 1553 address accuracy of certain printouts.",
"timing_wording": "made at or near the time of the act, condition, or event",
"notice_reminder": "Production ordinarily within 15 days of civil subpoena receipt or five days in criminal cases, or as agreed; a qualifying warrant has its own timetable. No general advance notice under these sections.",
"business_records": "Evid. Code § 1271; Evid. Code §§ 1560-1562. For qualifying nonparty subpoena or warrant production, state authority, record identity, preparation method, ordinary-course timing and completeness or exceptions. Otherwise plan for witness foundation.",
"declaration_form": "Use a signed and dated § 2015.5 unsworn declaration. For qualifying nonparty subpoena or warrant production, state authority, record identity, preparation method, ordinary-course timing and completeness or exceptions. Otherwise plan for witness foundation. Closing words, any location: \"I certify (or declare) under penalty of perjury under the laws of the State of California that the foregoing is true and correct\", followed by date and signature. California-only form: \"I certify (or declare) under penalty of perjury that the foregoing is true and correct\", followed by date, place and signature.",
"pack_version": "2026-11-21"
}
]
},
"limits": "This statement describes when and how Esign Comply's record was made and whether it has changed since. It does not establish who the signer was, the signer's capacity or authority, that the signer read the documents, or that any agreement is valid or enforceable. Times reported by the signer's browser are reported, not verified. A court decides admissibility and weight. The automated statement is not a custodian declaration. A custodian-signed unsworn declaration is available on request where the forum permits it. This document is not a qualified certificate, a qualified electronic time stamp, or a qualified electronic seal."
},
"seal": {
"receipt": "eyJhbGciOiJFUzI1NiIsImtp...",
"kid": "esc-us-test-2026-11",
"ledger_seq": 11,
"timestamp_token": "none: test certificate"
}
},
"limits": "This statement describes when and how Esign Comply's record was made and whether it has changed since. It does not establish who the signer was, the signer's capacity or authority, that the signer read the documents, or that any agreement is valid or enforceable. Times reported by the signer's browser are reported, not verified. A court decides admissibility and weight. The automated statement is not a custodian declaration. A custodian-signed unsworn declaration is available on request where the forum permits it. This document is not a qualified certificate, a qualified electronic time stamp, or a qualified electronic seal."
}
Response fields
| Field | Type | Description |
|---|---|---|
object |
string | Always "certificate_share". |
id |
string | The share ID. |
expires_at |
datetime | |
certificate |
object | { object, id, type, status, livemode, record_count, issued_at, certificate_hash, statement, seal }. The requester is shown by class only. |
limits |
string | What the certificate does and does not state. |
Errors
| Code | HTTP | When |
|---|---|---|
invalid_request |
400 | secret is missing, empty or longer than 256 characters, or format is neither json nor pdf. |
not_found |
404 | The link is not valid: unknown ID, wrong secret, expired, revoked, or the certificate was removed. Every one of these answers with the same message, This link is not valid or has expired.. |
rate_limit_exceeded |
429 | More than 30 calls in a minute from one IP address. Retry-After is 60. |
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 POST /v1/certificate-shares/{id}
Which credential does POST /v1/certificate-shares/{id} need?
None. The call needs no key and no token. Anyone who has the values in the request can make it.
Does POST /v1/certificate-shares/{id} work with a test key?
The call needs no key. It answers for test objects and for live objects alike.
Does POST /v1/certificate-shares/{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 POST /v1/certificate-shares/{id} idempotent?
It takes no Idempotency-Key header. The API acts on that header only for a POST made with a key or a client token.
What is the rate limit for POST /v1/certificate-shares/{id}?
30 calls per minute for each IP address. Past the limit the API answers 429 rate_limit_exceeded with a Retry-After header.
Does the Node SDK have a method for POST /v1/certificate-shares/{id}?
No. Call it over HTTP, or with esc.request() in the esigncomply package, which sends the key and returns { data, error }.
Related
- Certificates: the overview of the resource and all of its operations.
- Issue a certificate for one record:
POST /v1/records/{id}/certificates - Issue a certificate for a set of records:
POST /v1/certificates - Quote a certificate:
POST /v1/certificates/quote - List certificates:
GET /v1/certificates - Certificates
- Errors: every error code, with what to do.
- API conventions: authentication, idempotency, rate limits and versioning.
Last updated · API version 2026-11-21