Core resources
Envelopes
An envelope is one agreement: its documents, the recipients who act on them in routing order, and the fields each fills. Create a draft or create and send in one call, then follow it to completed, when every document is sealed. Envelopes carry an ETag; changing a draft needs If-Match.
- GET
/api/v1/envelopes - POST
/api/v1/envelopes - POST
/api/v1/envelopes/from-templates - GET
/api/v1/envelopes/{id} - PATCH
/api/v1/envelopes/{id} - DELETE
/api/v1/envelopes/{id} - GET
/api/v1/envelopes/{id}/status - POST
/api/v1/envelopes/{id}/send - PUT
/api/v1/envelopes/{id}/schedule - DELETE
/api/v1/envelopes/{id}/schedule - POST
/api/v1/envelopes/{id}/void - GET
/api/v1/envelopes/{id}/custom-fields - PUT
/api/v1/envelopes/{id}/custom-fields - POST
/api/v1/envelopes/{id}/transfer - POST
/api/v1/envelopes/{id}/restore - POST
/api/v1/envelopes/{id}/correct - POST
/api/v1/envelopes/{id}/resend - POST
/api/v1/envelopes/{id}/sign-link - POST
/api/v1/envelopes/{id}/views/signing - POST
/api/v1/envelopes/{id}/views/prepare - POST
/api/v1/envelopes/{id}/views/correct
List envelopes
GET/api/v1/envelopes
Envelopes, sorted and filtered, cursor-paginated
The envelopes the caller may see (their own without view_all), never another account's, and never those removed from the lists (DELETE of an envelope that ended without completing) unless deleted=true asks for exactly those (the Deleted view). waiting_for=me is the Inbox: sent envelopes of this account, whoever sent them, in which the caller is, by their account email, a recipient whose turn it is and who acts through a link (not a copy, an in-person or an embedded signer); each item then has my_recipient_id. Every item has folder_id, the caller's own folder it is filed in, or null. Newest first by default. Keyset paging: a cursor belongs to the sort and order it was issued for (another is 422), and pages stay stable under inserts.
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.read · OAuth scope envelopes:read
Query parameters
cursorstringlimitintegerstatusstringOne status, or several separated by commas (any of them).
qstringText the subject, or a recipient's name or email, contains (ignoring case); at most 200 characters, no control characters.
sortstringcreated_at(default),updated_at(last change: the last command that changed the envelope; downloads are not changes),expires_at(never expiring after every date),subject(ignoring case) orstatus(lifecycle order: draft, sent, delivered, completing, completed, declined, voided, expired). Ties are broken by id.orderstringDefault
descfor the times,ascfor subject and status.senderstringA sender's user id, or
me. Withoutview_allanother sender's id answers an empty page.fromstringdate_fieldat or after this instant (RFC 3339).tostringdate_fieldbefore this instant (RFC 3339).date_fieldstringWhich date
fromandtobound: the last change (default), creation, sending or completion. An envelope without that date is outside any range.recipientstringText a recipient's name or email contains, ignoring case; at most 200 characters.
folderstringOne of the caller's folders (another member's matches nothing), or
none: in none of the caller's folders.deletedstringtrue: only the envelopes removed from the lists, the Deleted view.waiting_forstringme: the Inbox.auth_failedstringtrue: the Authentication failed quick view: envelopes in progress in which a recipient is locked out after failed authentication, or failed it and has not passed since. A resend clears it.expires_beforestringRFC 3339: only envelopes expiring before it, the Expiring soon quick view; one that never expires is outside it.
custom_fieldstringOnly envelopes with a custom field of exactly this name.
custom_valuestringWith
custom_field: text that field's value contains, ignoring case;%and_match themselves.
Returns
200 with a EnvelopePage object.
curl
curl https://sign.example.com/api/v1/envelopes?limit=20 \
-H "Authorization: Bearer $OPENSEAL_API_KEY"TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const data = await os.listEnvelopes({
limit: 20,
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
data = client.list_envelopes(
limit=20,
){
"items": [
{
"id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"status": "sent",
"subject": "Please sign: Mutual NDA",
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"created_at": "2026-11-20T09:30:00Z",
"updated_at": "2026-11-20T09:30:00Z",
"sent_at": "2026-11-20T09:30:00Z",
"completed_at": "2026-11-20T09:30:00Z",
"expires_at": "2026-12-20T09:30:00Z",
"folder_id": "0193034a-0062-7488-8256-f14c8b14d025",
"deleted_at": "2026-11-20T09:30:00Z",
"my_recipient_id": "019325d4-fa87-73e8-8d4c-2518d926f41e"
}
],
"next_cursor": "eyJpZCI6IjAxOTMifQ"
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.read |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Create envelope
POST/api/v1/envelopes
Create a draft, or create and send in one call
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.write · OAuth scope envelopes:write
Headers
Idempotency-KeystringUp to 255 printable ASCII characters; a replay within 24 hours returns the first response.
Request body
Content type application/json · required
subjectstringmessagestringstatusstringdocumentsarray of DocumentInChild attributes of
documentsAt most 50 MiB decoded
recipientsarray of RecipientInChild attributes of
recipientsrefstringName for fields in the same request
emailstringphonestringrouting_orderintegerdeliverystringautharray of stringaccess_codestringWith
auth: [access_code]; stored as Argon2id onlyembedded_client_user_idstringtime_zone_offset_minutesintegerdate_formatstringexcluded_documentsarray of string or integerDocuments hidden from this recipient: document ids, or in a create the index of a document of the same request. A recipient sees at least one document (
422 CS-WF-0004), never a field on a hidden one (422 CS-WF-0021).route_delay_hoursintegerDelayed routing: hours routing waits, once this recipient's turn comes, before inviting them. At most 720 at send (
422 CS-WF-0023); not on a carbon copy (422 CS-WF-0004).How a signer signs (ADR-046 §3.1). Absent or
{"type": "simple"}: an adopted mark under the platform seal.{"type": "remote", "provider_id": "…"}: the signer signs with their own certificate at a provider the account enabled (GET /signing-providers); only for asigner, and two remote signers never share a routing order (422 CS-RSP-0007). A provider not in the operator's catalogue, not offered to the account or not enabled is422 CS-RSP-0001; changing the type while the recipient's session is open is409 CS-RSP-0007.Child attributes of
signatureprovider_idstring
Child attributes of
fieldsanchorobjectChild attributes of
anchoroffset_xstringDecimal, in units; to the right
offset_ystringDecimal, in units; downwards
unitsstringignore_if_absentbooleancase_sensitivebooleanwhole_wordbooleanmatchingstring
remindersobjectChild attributes of
remindersfirst_after_daysintegerthen_every_daysinteger
expires_in_daysintegerChild attributes of
signing_optionsallow_reassignbooleanallow_declinebooleanallow_finish_laterbooleancapture_locationbooleanRecord where each recipient was on every recipient action (row GEO-01, docs/32 §2): the device's location when the signer agrees, else an approximation from the request's IP address with the reason. Absent when off.
stamp_envelope_idbooleanStamp "Envelope ID: <id>" in the top margin of every page: the signing page shows it and the sealed document carries it. Absent when off. On
POST /envelopes, left out it takes the account'sstamp_envelope_idsetting. Changeable only while a draft (a correction that changes it is409 CS-WF-0001).allow_sign_on_paperbooleanA signer may sign on paper instead: print the documents, sign by hand and upload the scan (
POST /s/{token}/paper). Absent when off.
seal_profilestringtext_tagsbooleanPlace a field at each {{type:recipient[:req][:label][:WxH]}} tag in the documents; the recipient is a request ref. A malformed tag refuses the request (CS-FLD-0011).
Returns
201 with a Envelope object.
curl
curl -X POST https://sign.example.com/api/v1/envelopes \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'Idempotency-Key: order-1042' \
-H "Content-Type: application/json" \
-d '{
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"status": "sent",
"documents": [
{
"name": "nda.pdf",
"content_base64": "JVBERi0xLjcKJcfsj6IK"
}
],
"recipients": [
{
"ref": "client",
"type": "signer",
"name": "Example Signer",
"email": "[email protected]",
"routing_order": 1
},
{
"type": "cc",
"name": "Example Legal",
"email": "[email protected]",
"routing_order": 2
}
],
"fields": [
{
"recipient": "client",
"document": 0,
"type": "signature",
"page": 1,
"x": 72,
"y": 600,
"width": 180,
"height": 40
},
{
"recipient": "client",
"document": 0,
"type": "date_signed",
"page": 1,
"x": 280,
"y": 600,
"width": 120,
"height": 24
}
],
"reminders": {
"first_after_days": 2,
"then_every_days": 3
},
"expires_in_days": 30
}'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.createEnvelope({
idempotencyKey: "order-1042",
body: {
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"status": "sent",
"documents": [
{
"name": "nda.pdf",
"content_base64": "JVBERi0xLjcKJcfsj6IK"
}
],
"recipients": [
{
"ref": "client",
"type": "signer",
"name": "Example Signer",
"email": "[email protected]",
"routing_order": 1
},
{
"type": "cc",
"name": "Example Legal",
"email": "[email protected]",
"routing_order": 2
}
],
"fields": [
{
"recipient": "client",
"document": 0,
"type": "signature",
"page": 1,
"x": 72,
"y": 600,
"width": 180,
"height": 40
},
{
"recipient": "client",
"document": 0,
"type": "date_signed",
"page": 1,
"x": 280,
"y": 600,
"width": 120,
"height": 24
}
],
"reminders": {
"first_after_days": 2,
"then_every_days": 3
},
"expires_in_days": 30
},
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.create_envelope(
idempotency_key="order-1042",
body={
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"status": "sent",
"documents": [
{
"name": "nda.pdf",
"content_base64": "JVBERi0xLjcKJcfsj6IK",
},
],
"recipients": [
{
"ref": "client",
"type": "signer",
"name": "Example Signer",
"email": "[email protected]",
"routing_order": 1,
},
{
"type": "cc",
"name": "Example Legal",
"email": "[email protected]",
"routing_order": 2,
},
],
"fields": [
{
"recipient": "client",
"document": 0,
"type": "signature",
"page": 1,
"x": 72,
"y": 600,
"width": 180,
"height": 40,
},
{
"recipient": "client",
"document": 0,
"type": "date_signed",
"page": 1,
"x": 280,
"y": 600,
"width": 120,
"height": 24,
},
],
"reminders": {
"first_after_days": 2,
"then_every_days": 3,
},
"expires_in_days": 30,
},
){
"id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"status": "sent",
"version": 3,
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"created_at": "2026-11-20T09:30:00Z",
"sent_at": "2026-11-20T09:30:00Z",
"send_at": "2026-11-20T09:30:00Z",
"ended_at": "2026-11-20T09:30:00Z",
"expires_at": "2026-12-20T09:30:00Z",
"deleted_at": "2026-11-20T09:30:00Z",
"reminders": {},
"signing_options": {
"allow_reassign": true,
"allow_decline": true,
"allow_finish_later": true,
"capture_location": false,
"stamp_envelope_id": false,
"allow_sign_on_paper": false
},
"seal_profile": "pades-b-t",
"documents": [
{
"id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"name": "contract.pdf",
"pages": 2,
"bytes": 1,
"upload_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"delivered_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"admission_findings": 1,
"fixed": false
}
],
"recipients": [
{
"id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signer",
"routing_order": 1,
"name": "Example Signer",
"email": "[email protected]",
"status": "sent",
"delivery": "email",
"auth": [
"email_link"
],
"embedded_client_user_id": "0193aaed-76bb-7dc3-89d6-a55fae533f82",
"excluded_documents": [
"example"
],
"route_delay_hours": 1,
"held_until": "2026-11-20T09:30:00Z",
"signature": {
"type": "simple",
"provider_id": "123456"
},
"remote_signing": {
"session": "example",
"provider_id": "01935c4c-1964-7340-8aca-5b65393bbe9d",
"prepared": false
}
}
],
"fields": [
{
"id": "0193c0d2-856b-774d-80df-05b9d4456b17",
"document_id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signature",
"shared_with": [
"example"
],
"placement": {
"page": 1,
"x": "72",
"y": "600",
"width": "180",
"height": "40"
}
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.write |
| 409 | CS-API-0004 | The idempotency key was used with a different body (CS-API-0011 while the first is still running) |
| 413 | CS-API-0006 | The request body is over its limit |
| 415 | CS-API-0007 | The body is not application/json |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Create envelope from templates
POST/api/v1/envelopes/from-templates
One envelope from one template or several (composite templates), as a draft or sent (slice 3)
Made on the server from the templates' stored documents (scanned again) through the same path as POST /envelopes, so it is checked, audited and sent the same way. Needs templates.read as well; status: sent needs envelopes.send.
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.write · OAuth scope envelopes:write
Headers
Idempotency-KeystringUp to 255 printable ASCII characters; a replay within 24 hours returns the first response.
Request body
Content type application/json · required
Templates the caller may use (another account's, or one not shared with the caller, is 422 at /template_ids/{i}); each once
recipientsarray of objectsubjectstringDefault: the first template's email subject, else its name
messagestringDefault: the first template's message
statusstringdraft (default) or sent (needs envelopes.send)
Returns
201 with a Envelope object.
Limits
- Template folders (
TSH-03) and using templates (POST /envelopes/from-templates, slice 3): templates per move; templates per envelope; people per request: 1–200; 1–10, each once; at most 100
curl
curl -X POST https://sign.example.com/api/v1/envelopes/from-templates \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'Idempotency-Key: order-1042' \
-H "Content-Type: application/json" \
-d '{
"template_ids": [
"01935cde-0f12-798f-841f-7d1c8b907a36"
],
"recipients": [
{
"name": "Mutual NDA"
}
],
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"status": "sent"
}'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.createEnvelopeFromTemplates({
idempotencyKey: "order-1042",
body: {
"template_ids": [
"01935cde-0f12-798f-841f-7d1c8b907a36"
],
"recipients": [
{
"name": "Mutual NDA"
}
],
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"status": "sent"
},
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.create_envelope_from_templates(
idempotency_key="order-1042",
body={
"template_ids": [
"01935cde-0f12-798f-841f-7d1c8b907a36",
],
"recipients": [
{
"name": "Mutual NDA",
},
],
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"status": "sent",
},
){
"id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"status": "sent",
"version": 3,
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"created_at": "2026-11-20T09:30:00Z",
"sent_at": "2026-11-20T09:30:00Z",
"send_at": "2026-11-20T09:30:00Z",
"ended_at": "2026-11-20T09:30:00Z",
"expires_at": "2026-12-20T09:30:00Z",
"deleted_at": "2026-11-20T09:30:00Z",
"reminders": {},
"signing_options": {
"allow_reassign": true,
"allow_decline": true,
"allow_finish_later": true,
"capture_location": false,
"stamp_envelope_id": false,
"allow_sign_on_paper": false
},
"seal_profile": "pades-b-t",
"documents": [
{
"id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"name": "contract.pdf",
"pages": 2,
"bytes": 1,
"upload_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"delivered_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"admission_findings": 1,
"fixed": false
}
],
"recipients": [
{
"id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signer",
"routing_order": 1,
"name": "Example Signer",
"email": "[email protected]",
"status": "sent",
"delivery": "email",
"auth": [
"email_link"
],
"embedded_client_user_id": "0193aaed-76bb-7dc3-89d6-a55fae533f82",
"excluded_documents": [
"example"
],
"route_delay_hours": 1,
"held_until": "2026-11-20T09:30:00Z",
"signature": {
"type": "simple",
"provider_id": "123456"
},
"remote_signing": {
"session": "example",
"provider_id": "01935c4c-1964-7340-8aca-5b65393bbe9d",
"prepared": false
}
}
],
"fields": [
{
"id": "0193c0d2-856b-774d-80df-05b9d4456b17",
"document_id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signature",
"shared_with": [
"example"
],
"placement": {
"page": 1,
"x": "72",
"y": "600",
"width": "180",
"height": "40"
}
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.write |
| 409 | CS-API-0004 | The idempotency key was used with a different body (CS-API-0011 while the first is still running) |
| 413 | CS-API-0006 | The request body is over its limit |
| 415 | CS-API-0007 | The body is not application/json |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Get envelope
GET/api/v1/envelopes/{id}
An envelope with its documents, recipients and fields
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.read · OAuth scope envelopes:read
Path parameters
Object id (UUIDv7)
Returns
200 with a Envelope object.
curl
curl https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962 \
-H "Authorization: Bearer $OPENSEAL_API_KEY"TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const data = await os.getEnvelope({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
data = client.get_envelope(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
){
"id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"status": "sent",
"version": 3,
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"created_at": "2026-11-20T09:30:00Z",
"sent_at": "2026-11-20T09:30:00Z",
"send_at": "2026-11-20T09:30:00Z",
"ended_at": "2026-11-20T09:30:00Z",
"expires_at": "2026-12-20T09:30:00Z",
"deleted_at": "2026-11-20T09:30:00Z",
"reminders": {},
"signing_options": {
"allow_reassign": true,
"allow_decline": true,
"allow_finish_later": true,
"capture_location": false,
"stamp_envelope_id": false,
"allow_sign_on_paper": false
},
"seal_profile": "pades-b-t",
"documents": [
{
"id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"name": "contract.pdf",
"pages": 2,
"bytes": 1,
"upload_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"delivered_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"admission_findings": 1,
"fixed": false
}
],
"recipients": [
{
"id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signer",
"routing_order": 1,
"name": "Example Signer",
"email": "[email protected]",
"status": "sent",
"delivery": "email",
"auth": [
"email_link"
],
"embedded_client_user_id": "0193aaed-76bb-7dc3-89d6-a55fae533f82",
"excluded_documents": [
"example"
],
"route_delay_hours": 1,
"held_until": "2026-11-20T09:30:00Z",
"signature": {
"type": "simple",
"provider_id": "123456"
},
"remote_signing": {
"session": "example",
"provider_id": "01935c4c-1964-7340-8aca-5b65393bbe9d",
"prepared": false
}
}
],
"fields": [
{
"id": "0193c0d2-856b-774d-80df-05b9d4456b17",
"document_id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signature",
"shared_with": [
"example"
],
"placement": {
"page": 1,
"x": "72",
"y": "600",
"width": "180",
"height": "40"
}
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.read |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Update envelope
PATCH/api/v1/envelopes/{id}
Change a draft's or a correction's settings (If-Match required)
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.write · OAuth scope envelopes:write
Path parameters
Object id (UUIDv7)
Headers
The envelope's
ETagas read ("v<version>"); a stale one is412 CS-WF-0002, none is428 CS-API-0008.
Request body
Content type application/json · required
subjectstringmessagestringremindersobjectexpires_in_daysinteger or nullChild attributes of
signing_optionsallow_reassignbooleanallow_declinebooleanallow_finish_laterbooleancapture_locationbooleanRecord where each recipient was on every recipient action (row GEO-01, docs/32 §2): the device's location when the signer agrees, else an approximation from the request's IP address with the reason. Absent when off.
stamp_envelope_idbooleanStamp "Envelope ID: <id>" in the top margin of every page: the signing page shows it and the sealed document carries it. Absent when off. On
POST /envelopes, left out it takes the account'sstamp_envelope_idsetting. Changeable only while a draft (a correction that changes it is409 CS-WF-0001).allow_sign_on_paperbooleanA signer may sign on paper instead: print the documents, sign by hand and upload the scan (
POST /s/{token}/paper). Absent when off.
seal_profilestring
Returns
200 with a Envelope object.
curl
curl -X PATCH https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962 \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'If-Match: "v3"' \
-H "Content-Type: application/json" \
-d '{
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"reminders": {},
"expires_in_days": 30,
"signing_options": {},
"seal_profile": "pades-b-lt"
}'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.patchEnvelope({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
ifMatch: '"v3"',
body: {
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"reminders": {},
"expires_in_days": 30,
"signing_options": {},
"seal_profile": "pades-b-lt"
},
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.patch_envelope(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
if_match="\"v3\"",
body={
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"reminders": {},
"expires_in_days": 30,
"signing_options": {},
"seal_profile": "pades-b-lt",
},
){
"id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"status": "sent",
"version": 3,
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"created_at": "2026-11-20T09:30:00Z",
"sent_at": "2026-11-20T09:30:00Z",
"send_at": "2026-11-20T09:30:00Z",
"ended_at": "2026-11-20T09:30:00Z",
"expires_at": "2026-12-20T09:30:00Z",
"deleted_at": "2026-11-20T09:30:00Z",
"reminders": {},
"signing_options": {
"allow_reassign": true,
"allow_decline": true,
"allow_finish_later": true,
"capture_location": false,
"stamp_envelope_id": false,
"allow_sign_on_paper": false
},
"seal_profile": "pades-b-t",
"documents": [
{
"id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"name": "contract.pdf",
"pages": 2,
"bytes": 1,
"upload_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"delivered_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"admission_findings": 1,
"fixed": false
}
],
"recipients": [
{
"id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signer",
"routing_order": 1,
"name": "Example Signer",
"email": "[email protected]",
"status": "sent",
"delivery": "email",
"auth": [
"email_link"
],
"embedded_client_user_id": "0193aaed-76bb-7dc3-89d6-a55fae533f82",
"excluded_documents": [
"example"
],
"route_delay_hours": 1,
"held_until": "2026-11-20T09:30:00Z",
"signature": {
"type": "simple",
"provider_id": "123456"
},
"remote_signing": {
"session": "example",
"provider_id": "01935c4c-1964-7340-8aca-5b65393bbe9d",
"prepared": false
}
}
],
"fields": [
{
"id": "0193c0d2-856b-774d-80df-05b9d4456b17",
"document_id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signature",
"shared_with": [
"example"
],
"placement": {
"page": 1,
"x": "72",
"y": "600",
"width": "180",
"height": "40"
}
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.write |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 412 | CS-WF-0002 | The If-Match version is stale: read the object again |
| 428 | CS-API-0008 | If-Match is required and absent |
| 413 | CS-API-0006 | The request body is over its limit |
| 415 | CS-API-0007 | The body is not application/json |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Delete envelope
DELETE/api/v1/envelopes/{id}
Delete a draft, or remove an envelope that ended without completing from the lists (If-Match required)
A draft is deleted (envelope.purged, policy draft_deleted). A declined, voided or expired envelope is removed from the lists only: envelope.deleted is recorded; its documents, audit chain and evidence stay and it can still be read by id. A completed envelope, or one in flight, is 409.
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.write · OAuth scope envelopes:write
Path parameters
Object id (UUIDv7)
Headers
The envelope's
ETagas read ("v<version>"); a stale one is412 CS-WF-0002, none is428 CS-API-0008.
Returns
204 Done with no body.
curl
curl -X DELETE https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962 \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'If-Match: "v3"'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.deleteEnvelope({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
ifMatch: '"v3"',
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.delete_envelope(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
if_match="\"v3\"",
)No body.
Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.write |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 412 | CS-WF-0002 | The If-Match version is stale: read the object again |
| 428 | CS-API-0008 | If-Match is required and absent |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Get envelope status
GET/api/v1/envelopes/{id}/status
Envelope and recipient statuses
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.read · OAuth scope envelopes:read
Path parameters
Object id (UUIDv7)
Returns
200 with a EnvelopeStatusInfo object.
curl
curl https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/status \
-H "Authorization: Bearer $OPENSEAL_API_KEY"TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const data = await os.getEnvelopeStatus({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
data = client.get_envelope_status(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
){
"id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"status": "sent",
"version": 3,
"recipients": [
{}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.read |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Send envelope
POST/api/v1/envelopes/{id}/send
Send a draft
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.send · OAuth scope envelopes:send
Path parameters
Object id (UUIDv7)
Headers
Idempotency-KeystringUp to 255 printable ASCII characters; a replay within 24 hours returns the first response.
Returns
200 with a Envelope object.
curl
curl -X POST https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/send \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'Idempotency-Key: order-1042'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.sendEnvelope({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotencyKey: "order-1042",
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.send_envelope(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotency_key="order-1042",
){
"id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"status": "sent",
"version": 3,
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"created_at": "2026-11-20T09:30:00Z",
"sent_at": "2026-11-20T09:30:00Z",
"send_at": "2026-11-20T09:30:00Z",
"ended_at": "2026-11-20T09:30:00Z",
"expires_at": "2026-12-20T09:30:00Z",
"deleted_at": "2026-11-20T09:30:00Z",
"reminders": {},
"signing_options": {
"allow_reassign": true,
"allow_decline": true,
"allow_finish_later": true,
"capture_location": false,
"stamp_envelope_id": false,
"allow_sign_on_paper": false
},
"seal_profile": "pades-b-t",
"documents": [
{
"id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"name": "contract.pdf",
"pages": 2,
"bytes": 1,
"upload_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"delivered_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"admission_findings": 1,
"fixed": false
}
],
"recipients": [
{
"id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signer",
"routing_order": 1,
"name": "Example Signer",
"email": "[email protected]",
"status": "sent",
"delivery": "email",
"auth": [
"email_link"
],
"embedded_client_user_id": "0193aaed-76bb-7dc3-89d6-a55fae533f82",
"excluded_documents": [
"example"
],
"route_delay_hours": 1,
"held_until": "2026-11-20T09:30:00Z",
"signature": {
"type": "simple",
"provider_id": "123456"
},
"remote_signing": {
"session": "example",
"provider_id": "01935c4c-1964-7340-8aca-5b65393bbe9d",
"prepared": false
}
}
],
"fields": [
{
"id": "0193c0d2-856b-774d-80df-05b9d4456b17",
"document_id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signature",
"shared_with": [
"example"
],
"placement": {
"page": 1,
"x": "72",
"y": "600",
"width": "180",
"height": "40"
}
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.send |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 409 | CS-API-0004 | The idempotency key was used with a different body (CS-API-0011 while the first is still running) |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Schedule envelope
PUT/api/v1/envelopes/{id}/schedule
Schedule a draft to send itself
The draft must be sendable now (422 CS-WF-0004); send_at after now, at most 365 days ahead and before the expiry (422 CS-WF-0023). A scheduled draft cannot be edited (409 CS-WF-0022) until the schedule is cancelled; sending by hand drops it. Recorded as a draft edit of send_at; the send itself is envelope.sent by the platform.
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.send · OAuth scope envelopes:send
Path parameters
Object id (UUIDv7)
Headers
Idempotency-KeystringUp to 255 printable ASCII characters; a replay within 24 hours returns the first response.
Request body
Content type application/json · required
After now, at most 365 days ahead, before the expiry
Returns
200 with a Envelope object.
curl
curl -X PUT https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/schedule \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'Idempotency-Key: order-1042' \
-H "Content-Type: application/json" \
-d '{
"send_at": "2026-11-20T09:30:00Z"
}'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.scheduleEnvelope({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotencyKey: "order-1042",
body: {
"send_at": "2026-11-20T09:30:00Z"
},
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.schedule_envelope(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotency_key="order-1042",
body={
"send_at": "2026-11-20T09:30:00Z",
},
){
"id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"status": "sent",
"version": 3,
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"created_at": "2026-11-20T09:30:00Z",
"sent_at": "2026-11-20T09:30:00Z",
"send_at": "2026-11-20T09:30:00Z",
"ended_at": "2026-11-20T09:30:00Z",
"expires_at": "2026-12-20T09:30:00Z",
"deleted_at": "2026-11-20T09:30:00Z",
"reminders": {},
"signing_options": {
"allow_reassign": true,
"allow_decline": true,
"allow_finish_later": true,
"capture_location": false,
"stamp_envelope_id": false,
"allow_sign_on_paper": false
},
"seal_profile": "pades-b-t",
"documents": [
{
"id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"name": "contract.pdf",
"pages": 2,
"bytes": 1,
"upload_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"delivered_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"admission_findings": 1,
"fixed": false
}
],
"recipients": [
{
"id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signer",
"routing_order": 1,
"name": "Example Signer",
"email": "[email protected]",
"status": "sent",
"delivery": "email",
"auth": [
"email_link"
],
"embedded_client_user_id": "0193aaed-76bb-7dc3-89d6-a55fae533f82",
"excluded_documents": [
"example"
],
"route_delay_hours": 1,
"held_until": "2026-11-20T09:30:00Z",
"signature": {
"type": "simple",
"provider_id": "123456"
},
"remote_signing": {
"session": "example",
"provider_id": "01935c4c-1964-7340-8aca-5b65393bbe9d",
"prepared": false
}
}
],
"fields": [
{
"id": "0193c0d2-856b-774d-80df-05b9d4456b17",
"document_id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signature",
"shared_with": [
"example"
],
"placement": {
"page": 1,
"x": "72",
"y": "600",
"width": "180",
"height": "40"
}
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.send |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 409 | CS-API-0004 | The idempotency key was used with a different body (CS-API-0011 while the first is still running) |
| 413 | CS-API-0006 | The request body is over its limit |
| 415 | CS-API-0007 | The body is not application/json |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Unschedule envelope
DELETE/api/v1/envelopes/{id}/schedule
Cancel a draft's scheduled send
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.send · OAuth scope envelopes:send
Path parameters
Object id (UUIDv7)
Returns
200 with a Envelope object.
curl
curl -X DELETE https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/schedule \
-H "Authorization: Bearer $OPENSEAL_API_KEY"TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.unscheduleEnvelope({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.unschedule_envelope(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
){
"id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"status": "sent",
"version": 3,
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"created_at": "2026-11-20T09:30:00Z",
"sent_at": "2026-11-20T09:30:00Z",
"send_at": "2026-11-20T09:30:00Z",
"ended_at": "2026-11-20T09:30:00Z",
"expires_at": "2026-12-20T09:30:00Z",
"deleted_at": "2026-11-20T09:30:00Z",
"reminders": {},
"signing_options": {
"allow_reassign": true,
"allow_decline": true,
"allow_finish_later": true,
"capture_location": false,
"stamp_envelope_id": false,
"allow_sign_on_paper": false
},
"seal_profile": "pades-b-t",
"documents": [
{
"id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"name": "contract.pdf",
"pages": 2,
"bytes": 1,
"upload_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"delivered_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"admission_findings": 1,
"fixed": false
}
],
"recipients": [
{
"id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signer",
"routing_order": 1,
"name": "Example Signer",
"email": "[email protected]",
"status": "sent",
"delivery": "email",
"auth": [
"email_link"
],
"embedded_client_user_id": "0193aaed-76bb-7dc3-89d6-a55fae533f82",
"excluded_documents": [
"example"
],
"route_delay_hours": 1,
"held_until": "2026-11-20T09:30:00Z",
"signature": {
"type": "simple",
"provider_id": "123456"
},
"remote_signing": {
"session": "example",
"provider_id": "01935c4c-1964-7340-8aca-5b65393bbe9d",
"prepared": false
}
}
],
"fields": [
{
"id": "0193c0d2-856b-774d-80df-05b9d4456b17",
"document_id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signature",
"shared_with": [
"example"
],
"placement": {
"page": 1,
"x": "72",
"y": "600",
"width": "180",
"height": "40"
}
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.send |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Void envelope
POST/api/v1/envelopes/{id}/void
Void with a reason
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.send · OAuth scope envelopes:send
Path parameters
Object id (UUIDv7)
Headers
Idempotency-KeystringUp to 255 printable ASCII characters; a replay within 24 hours returns the first response.
Request body
Content type application/json · required
Returns
200 with a Envelope object.
curl
curl -X POST https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/void \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'Idempotency-Key: order-1042' \
-H "Content-Type: application/json" \
-d '{
"reason": "Replaced by a corrected version"
}'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.voidEnvelope({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotencyKey: "order-1042",
body: {
"reason": "Replaced by a corrected version"
},
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.void_envelope(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotency_key="order-1042",
body={
"reason": "Replaced by a corrected version",
},
){
"id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"status": "sent",
"version": 3,
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"created_at": "2026-11-20T09:30:00Z",
"sent_at": "2026-11-20T09:30:00Z",
"send_at": "2026-11-20T09:30:00Z",
"ended_at": "2026-11-20T09:30:00Z",
"expires_at": "2026-12-20T09:30:00Z",
"deleted_at": "2026-11-20T09:30:00Z",
"reminders": {},
"signing_options": {
"allow_reassign": true,
"allow_decline": true,
"allow_finish_later": true,
"capture_location": false,
"stamp_envelope_id": false,
"allow_sign_on_paper": false
},
"seal_profile": "pades-b-t",
"documents": [
{
"id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"name": "contract.pdf",
"pages": 2,
"bytes": 1,
"upload_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"delivered_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"admission_findings": 1,
"fixed": false
}
],
"recipients": [
{
"id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signer",
"routing_order": 1,
"name": "Example Signer",
"email": "[email protected]",
"status": "sent",
"delivery": "email",
"auth": [
"email_link"
],
"embedded_client_user_id": "0193aaed-76bb-7dc3-89d6-a55fae533f82",
"excluded_documents": [
"example"
],
"route_delay_hours": 1,
"held_until": "2026-11-20T09:30:00Z",
"signature": {
"type": "simple",
"provider_id": "123456"
},
"remote_signing": {
"session": "example",
"provider_id": "01935c4c-1964-7340-8aca-5b65393bbe9d",
"prepared": false
}
}
],
"fields": [
{
"id": "0193c0d2-856b-774d-80df-05b9d4456b17",
"document_id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signature",
"shared_with": [
"example"
],
"placement": {
"page": 1,
"x": "72",
"y": "600",
"width": "180",
"height": "40"
}
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.send |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 409 | CS-API-0004 | The idempotency key was used with a different body (CS-API-0011 while the first is still running) |
| 413 | CS-API-0006 | The request body is over its limit |
| 415 | CS-API-0007 | The body is not application/json |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Get envelope custom fields
GET/api/v1/envelopes/{id}/custom-fields
The envelope's custom fields, by name
Sender and integrator metadata, searchable with GET /envelopes?custom_field=. Not part of the agreement: never shown to a recipient, never in the audit chain, the sealed PDF or the certificate.
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.read · OAuth scope envelopes:read
Path parameters
Object id (UUIDv7)
Returns
200 with a CustomFields object.
curl
curl https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/custom-fields \
-H "Authorization: Bearer $OPENSEAL_API_KEY"TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const data = await os.getEnvelopeCustomFields({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
data = client.get_envelope_custom_fields(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
){
"items": [
{
"name": "Example Signer",
"value": "Example Corp"
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.read |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Set envelope custom fields
PUT/api/v1/envelopes/{id}/custom-fields
Replace the envelope's custom fields
At most 100; a name is 1 to 100 characters, a value at most 1,000, neither with control characters; a repeated name is 422 with the member code exists. A purged envelope is 409 CS-API-0009. Nothing is recorded in the audit chain.
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.write · OAuth scope envelopes:write
Path parameters
Object id (UUIDv7)
Request body
Content type application/json · required
Returns
200 with a CustomFields object.
curl
curl -X PUT https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/custom-fields \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"items": [
{
"name": "Example Signer",
"value": "Example Corp"
}
]
}'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.setEnvelopeCustomFields({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
body: {
"items": [
{
"name": "Example Signer",
"value": "Example Corp"
}
]
},
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.set_envelope_custom_fields(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
body={
"items": [
{
"name": "Example Signer",
"value": "Example Corp",
},
],
},
){
"items": [
{
"name": "Example Signer",
"value": "Example Corp"
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.write |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 413 | CS-API-0006 | The request body is over its limit |
| 415 | CS-API-0007 | The body is not application/json |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Transfer envelope
POST/api/v1/envelopes/{id}/transfer
Pass the envelope's ownership to another member of this workspace
Any state but purged; records envelope.transferred {from_user, to_user} in the envelope's chain. Envelopes never move between workspaces: a to_workspace other than this one, or a to_user who is not an enabled member here, is 422 CS-ORG-0009. An API key or OAuth token also needs envelopes:send granted, else 403 CS-AUTH-0006.
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.transfer · no OAuth scope covers it: it comes from the member's role
Path parameters
Object id (UUIDv7)
Headers
The envelope's
ETagas read ("v<version>"); a stale one is412 CS-WF-0002, none is428 CS-API-0008.Idempotency-KeystringUp to 255 printable ASCII characters; a replay within 24 hours returns the first response.
Request body
Content type application/json · required
An enabled member of this workspace
to_workspacestringOnly this workspace; another is 422 CS-ORG-0009
Returns
200 with a Envelope object.
curl
curl -X POST https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/transfer \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'Idempotency-Key: order-1042' \
-H 'If-Match: "v3"' \
-H "Content-Type: application/json" \
-d '{
"to_user": "example",
"to_workspace": "example"
}'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.transferEnvelope({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotencyKey: "order-1042",
ifMatch: '"v3"',
body: {
"to_user": "example",
"to_workspace": "example"
},
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.transfer_envelope(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotency_key="order-1042",
if_match="\"v3\"",
body={
"to_user": "example",
"to_workspace": "example",
},
){
"id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"status": "sent",
"version": 3,
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"created_at": "2026-11-20T09:30:00Z",
"sent_at": "2026-11-20T09:30:00Z",
"send_at": "2026-11-20T09:30:00Z",
"ended_at": "2026-11-20T09:30:00Z",
"expires_at": "2026-12-20T09:30:00Z",
"deleted_at": "2026-11-20T09:30:00Z",
"reminders": {},
"signing_options": {
"allow_reassign": true,
"allow_decline": true,
"allow_finish_later": true,
"capture_location": false,
"stamp_envelope_id": false,
"allow_sign_on_paper": false
},
"seal_profile": "pades-b-t",
"documents": [
{
"id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"name": "contract.pdf",
"pages": 2,
"bytes": 1,
"upload_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"delivered_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"admission_findings": 1,
"fixed": false
}
],
"recipients": [
{
"id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signer",
"routing_order": 1,
"name": "Example Signer",
"email": "[email protected]",
"status": "sent",
"delivery": "email",
"auth": [
"email_link"
],
"embedded_client_user_id": "0193aaed-76bb-7dc3-89d6-a55fae533f82",
"excluded_documents": [
"example"
],
"route_delay_hours": 1,
"held_until": "2026-11-20T09:30:00Z",
"signature": {
"type": "simple",
"provider_id": "123456"
},
"remote_signing": {
"session": "example",
"provider_id": "01935c4c-1964-7340-8aca-5b65393bbe9d",
"prepared": false
}
}
],
"fields": [
{
"id": "0193c0d2-856b-774d-80df-05b9d4456b17",
"document_id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signature",
"shared_with": [
"example"
],
"placement": {
"page": 1,
"x": "72",
"y": "600",
"width": "180",
"height": "40"
}
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.transfer |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 409 | CS-API-0004 | The idempotency key was used with a different body (CS-API-0011 while the first is still running) |
| 412 | CS-WF-0002 | The If-Match version is stale: read the object again |
| 428 | CS-API-0008 | If-Match is required and absent |
| 413 | CS-API-0006 | The request body is over its limit |
| 415 | CS-API-0007 | The body is not application/json |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Restore envelope
POST/api/v1/envelopes/{id}/restore
Bring a deleted envelope back to the lists
An envelope removed from the lists by DELETE (declined, voided or expired; in the Deleted view, GET /envelopes?deleted=true) is listed again. Records envelope.restored in its chain, after the envelope.deleted that removed it; nothing in the agreement changes. If-Match is checked when sent. One that is not deleted, or was purged meanwhile (past its retention), is 409 CS-WF-0001.
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.write · OAuth scope envelopes:write
Path parameters
Object id (UUIDv7)
Headers
If-MatchstringThe envelope's
ETagas read; a stale one is412 CS-WF-0002.
Returns
200 with a Envelope object.
curl
curl -X POST https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/restore \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'If-Match: "v3"'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.restoreEnvelope({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
ifMatch: '"v3"',
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.restore_envelope(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
if_match="\"v3\"",
){
"id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"status": "sent",
"version": 3,
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"created_at": "2026-11-20T09:30:00Z",
"sent_at": "2026-11-20T09:30:00Z",
"send_at": "2026-11-20T09:30:00Z",
"ended_at": "2026-11-20T09:30:00Z",
"expires_at": "2026-12-20T09:30:00Z",
"deleted_at": "2026-11-20T09:30:00Z",
"reminders": {},
"signing_options": {
"allow_reassign": true,
"allow_decline": true,
"allow_finish_later": true,
"capture_location": false,
"stamp_envelope_id": false,
"allow_sign_on_paper": false
},
"seal_profile": "pades-b-t",
"documents": [
{
"id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"name": "contract.pdf",
"pages": 2,
"bytes": 1,
"upload_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"delivered_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"admission_findings": 1,
"fixed": false
}
],
"recipients": [
{
"id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signer",
"routing_order": 1,
"name": "Example Signer",
"email": "[email protected]",
"status": "sent",
"delivery": "email",
"auth": [
"email_link"
],
"embedded_client_user_id": "0193aaed-76bb-7dc3-89d6-a55fae533f82",
"excluded_documents": [
"example"
],
"route_delay_hours": 1,
"held_until": "2026-11-20T09:30:00Z",
"signature": {
"type": "simple",
"provider_id": "123456"
},
"remote_signing": {
"session": "example",
"provider_id": "01935c4c-1964-7340-8aca-5b65393bbe9d",
"prepared": false
}
}
],
"fields": [
{
"id": "0193c0d2-856b-774d-80df-05b9d4456b17",
"document_id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signature",
"shared_with": [
"example"
],
"placement": {
"page": 1,
"x": "72",
"y": "600",
"width": "180",
"height": "40"
}
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.write |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 412 | CS-WF-0002 | The If-Match version is stale: read the object again |
| 428 | CS-API-0008 | If-Match is required and absent |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Correct envelope
POST/api/v1/envelopes/{id}/correct
Correct a sent envelope, all changes or none (If-Match required)
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.send · OAuth scope envelopes:send
Path parameters
Object id (UUIDv7)
Headers
The envelope's
ETagas read ("v<version>"); a stale one is412 CS-WF-0002, none is428 CS-API-0008.Idempotency-KeystringUp to 255 printable ASCII characters; a replay within 24 hours returns the first response.
Request body
Content type application/json · required
Returns
200 with a Envelope object.
curl
curl -X POST https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/correct \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'Idempotency-Key: order-1042' \
-H 'If-Match: "v3"' \
-H "Content-Type: application/json" \
-d '{
"changes": [
{}
]
}'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.correctEnvelope({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotencyKey: "order-1042",
ifMatch: '"v3"',
body: {
"changes": [
{}
]
},
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.correct_envelope(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotency_key="order-1042",
if_match="\"v3\"",
body={
"changes": [
{},
],
},
){
"id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"status": "sent",
"version": 3,
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"created_at": "2026-11-20T09:30:00Z",
"sent_at": "2026-11-20T09:30:00Z",
"send_at": "2026-11-20T09:30:00Z",
"ended_at": "2026-11-20T09:30:00Z",
"expires_at": "2026-12-20T09:30:00Z",
"deleted_at": "2026-11-20T09:30:00Z",
"reminders": {},
"signing_options": {
"allow_reassign": true,
"allow_decline": true,
"allow_finish_later": true,
"capture_location": false,
"stamp_envelope_id": false,
"allow_sign_on_paper": false
},
"seal_profile": "pades-b-t",
"documents": [
{
"id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"name": "contract.pdf",
"pages": 2,
"bytes": 1,
"upload_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"delivered_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"admission_findings": 1,
"fixed": false
}
],
"recipients": [
{
"id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signer",
"routing_order": 1,
"name": "Example Signer",
"email": "[email protected]",
"status": "sent",
"delivery": "email",
"auth": [
"email_link"
],
"embedded_client_user_id": "0193aaed-76bb-7dc3-89d6-a55fae533f82",
"excluded_documents": [
"example"
],
"route_delay_hours": 1,
"held_until": "2026-11-20T09:30:00Z",
"signature": {
"type": "simple",
"provider_id": "123456"
},
"remote_signing": {
"session": "example",
"provider_id": "01935c4c-1964-7340-8aca-5b65393bbe9d",
"prepared": false
}
}
],
"fields": [
{
"id": "0193c0d2-856b-774d-80df-05b9d4456b17",
"document_id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signature",
"shared_with": [
"example"
],
"placement": {
"page": 1,
"x": "72",
"y": "600",
"width": "180",
"height": "40"
}
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.send |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 409 | CS-API-0004 | The idempotency key was used with a different body (CS-API-0011 while the first is still running) |
| 412 | CS-WF-0002 | The If-Match version is stale: read the object again |
| 428 | CS-API-0008 | If-Match is required and absent |
| 413 | CS-API-0006 | The request body is over its limit |
| 415 | CS-API-0007 | The body is not application/json |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Resend envelope
POST/api/v1/envelopes/{id}/resend
Re-send invitations
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.send · OAuth scope envelopes:send
Path parameters
Object id (UUIDv7)
Headers
Idempotency-KeystringUp to 255 printable ASCII characters; a replay within 24 hours returns the first response.
Request body
Content type application/json · required
recipient_idsarray of string
Returns
200 with a Envelope object.
curl
curl -X POST https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/resend \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'Idempotency-Key: order-1042' \
-H "Content-Type: application/json" \
-d '{
"recipient_ids": [
"0193665d-0698-7dbc-88fb-95afc25c3a4d"
]
}'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.resendEnvelope({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotencyKey: "order-1042",
body: {
"recipient_ids": [
"0193665d-0698-7dbc-88fb-95afc25c3a4d"
]
},
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.resend_envelope(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotency_key="order-1042",
body={
"recipient_ids": [
"0193665d-0698-7dbc-88fb-95afc25c3a4d",
],
},
){
"id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"status": "sent",
"version": 3,
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"subject": "Please sign: Mutual NDA",
"message": "Please review and sign the attached agreement.",
"created_at": "2026-11-20T09:30:00Z",
"sent_at": "2026-11-20T09:30:00Z",
"send_at": "2026-11-20T09:30:00Z",
"ended_at": "2026-11-20T09:30:00Z",
"expires_at": "2026-12-20T09:30:00Z",
"deleted_at": "2026-11-20T09:30:00Z",
"reminders": {},
"signing_options": {
"allow_reassign": true,
"allow_decline": true,
"allow_finish_later": true,
"capture_location": false,
"stamp_envelope_id": false,
"allow_sign_on_paper": false
},
"seal_profile": "pades-b-t",
"documents": [
{
"id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"name": "contract.pdf",
"pages": 2,
"bytes": 1,
"upload_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"delivered_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"admission_findings": 1,
"fixed": false
}
],
"recipients": [
{
"id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signer",
"routing_order": 1,
"name": "Example Signer",
"email": "[email protected]",
"status": "sent",
"delivery": "email",
"auth": [
"email_link"
],
"embedded_client_user_id": "0193aaed-76bb-7dc3-89d6-a55fae533f82",
"excluded_documents": [
"example"
],
"route_delay_hours": 1,
"held_until": "2026-11-20T09:30:00Z",
"signature": {
"type": "simple",
"provider_id": "123456"
},
"remote_signing": {
"session": "example",
"provider_id": "01935c4c-1964-7340-8aca-5b65393bbe9d",
"prepared": false
}
}
],
"fields": [
{
"id": "0193c0d2-856b-774d-80df-05b9d4456b17",
"document_id": "019343cc-23fa-752b-887b-4cc1d02b5b11",
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"type": "signature",
"shared_with": [
"example"
],
"placement": {
"page": 1,
"x": "72",
"y": "600",
"width": "180",
"height": "40"
}
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.send |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 409 | CS-API-0004 | The idempotency key was used with a different body (CS-API-0011 while the first is still running) |
| 413 | CS-API-0006 | The request body is over its limit |
| 415 | CS-API-0007 | The body is not application/json |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Create sign link
POST/api/v1/envelopes/{id}/sign-link
The Inbox: a five-minute signing link for the signed-in member, as the recipient they are
For a member signed in with a session (an API key or OAuth client is 403) who is, by their account email, a recipient of this envelope whose turn it is and who acts through a link. The ceremony records the member's sign-in (account_login) as how the link was obtained and applies every authentication the sender required. 404 when the caller neither may see the envelope nor is a recipient of it; 409 CS-WF-0007 when routing has not reached them or has passed. The body is empty or {}.
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session; any signed-in caller
Path parameters
Object id (UUIDv7)
Headers
Idempotency-KeystringUp to 255 printable ASCII characters; a replay within 24 hours returns the first response.
Returns
201 with a SigningView object.
curl
curl -X POST https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/sign-link \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'Idempotency-Key: order-1042'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.createSignLink({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotencyKey: "order-1042",
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.create_sign_link(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotency_key="order-1042",
){
"url": "https://app.example.com/openseal/callback",
"expires_at": "2026-12-20T09:30:00Z"
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 409 | CS-API-0004 | The idempotency key was used with a different body (CS-API-0011 while the first is still running) |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Create signing view
POST/api/v1/envelopes/{id}/views/signing
Five-minute embedded signing link (the creating API client only)
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.send · OAuth scope envelopes:send
Path parameters
Object id (UUIDv7)
Headers
Idempotency-KeystringUp to 255 printable ASCII characters; a replay within 24 hours returns the first response.
Request body
Content type application/json · required
auth_assertedstringThe host's statement of how it authenticated the signer
frame_originstringThe origin of the page that frames the view (
https://host[:port]), one of the workspace'sembedding_origins; the view page'sframe-ancestorsand the only origin its events are posted to. Not on the list:422 CS-EMB-0001return_urlstringWhere the browser goes when the view ends, with
eventandstateadded to its query; its origin must be one of the workspace'sembedding_origins(422 CS-EMB-0001)statestringAn opaque value given back with every event and on the return URL
Returns
201 with a SigningView object.
curl
curl -X POST https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/views/signing \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'Idempotency-Key: order-1042' \
-H "Content-Type: application/json" \
-d '{
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"auth_asserted": "example",
"frame_origin": "example",
"return_url": "https://app.example.com/openseal/callback",
"state": "af0ifjsldkj"
}'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.createSigningView({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotencyKey: "order-1042",
body: {
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"auth_asserted": "example",
"frame_origin": "example",
"return_url": "https://app.example.com/openseal/callback",
"state": "af0ifjsldkj"
},
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.create_signing_view(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotency_key="order-1042",
body={
"recipient_id": "0193665d-0698-7dbc-88fb-95afc25c3a4d",
"auth_asserted": "example",
"frame_origin": "example",
"return_url": "https://app.example.com/openseal/callback",
"state": "af0ifjsldkj",
},
){
"url": "https://app.example.com/openseal/callback",
"expires_at": "2026-12-20T09:30:00Z"
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.send |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 409 | CS-API-0004 | The idempotency key was used with a different body (CS-API-0011 while the first is still running) |
| 413 | CS-API-0006 | The request body is over its limit |
| 415 | CS-API-0007 | The body is not application/json |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Create prepare view
POST/api/v1/envelopes/{id}/views/prepare
Five-minute embedded prepare (sender) link for a draft, an API client only
A single-use link to the editor for this draft, for the page at frame_origin to frame: recipients, documents and fields, then send. Only an API key or an OAuth access token may ask (403 CS-AUTH-0010 to a staff session); the envelope must be a draft (409 CS-WF-0001). Opening it (POST /e/{token}/session) spends it.
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.send · OAuth scope envelopes:send
Path parameters
Object id (UUIDv7)
Headers
Idempotency-KeystringUp to 255 printable ASCII characters; a replay within 24 hours returns the first response.
Request body
Content type application/json
frame_originstringreturn_urlstringstatestring
Returns
201 with a SigningView object.
curl
curl -X POST https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/views/prepare \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'Idempotency-Key: order-1042' \
-H "Content-Type: application/json" \
-d '{
"frame_origin": "example",
"return_url": "https://app.example.com/openseal/callback",
"state": "af0ifjsldkj"
}'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.createPrepareView({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotencyKey: "order-1042",
body: {
"frame_origin": "example",
"return_url": "https://app.example.com/openseal/callback",
"state": "af0ifjsldkj"
},
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.create_prepare_view(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotency_key="order-1042",
body={
"frame_origin": "example",
"return_url": "https://app.example.com/openseal/callback",
"state": "af0ifjsldkj",
},
){
"url": "https://app.example.com/openseal/callback",
"expires_at": "2026-12-20T09:30:00Z"
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.send |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 409 | CS-API-0004 | The idempotency key was used with a different body (CS-API-0011 while the first is still running) |
| 413 | CS-API-0006 | The request body is over its limit |
| 415 | CS-API-0007 | The body is not application/json |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Create correct view
POST/api/v1/envelopes/{id}/views/correct
Five-minute embedded correct link for a sent envelope, an API client only
As createPrepareView, for an envelope in flight (sent or delivered, else 409 CS-WF-0001): the correct editor (recipients, authentication, expiry and reminders).
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.send · OAuth scope envelopes:send
Path parameters
Object id (UUIDv7)
Headers
Idempotency-KeystringUp to 255 printable ASCII characters; a replay within 24 hours returns the first response.
Request body
Content type application/json
frame_originstringreturn_urlstringstatestring
Returns
201 with a SigningView object.
curl
curl -X POST https://sign.example.com/api/v1/envelopes/01934c50-3ca6-7776-81e5-c4aaecfe9962/views/correct \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H 'Idempotency-Key: order-1042' \
-H "Content-Type: application/json" \
-d '{
"frame_origin": "example",
"return_url": "https://app.example.com/openseal/callback",
"state": "af0ifjsldkj"
}'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.createCorrectView({
id: "01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotencyKey: "order-1042",
body: {
"frame_origin": "example",
"return_url": "https://app.example.com/openseal/callback",
"state": "af0ifjsldkj"
},
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.create_correct_view(
id="01934c50-3ca6-7776-81e5-c4aaecfe9962",
idempotency_key="order-1042",
body={
"frame_origin": "example",
"return_url": "https://app.example.com/openseal/callback",
"state": "af0ifjsldkj",
},
){
"url": "https://app.example.com/openseal/callback",
"expires_at": "2026-12-20T09:30:00Z"
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.send |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 409 | CS-API-0004 | The idempotency key was used with a different body (CS-API-0011 while the first is still running) |
| 413 | CS-API-0006 | The request body is over its limit |
| 415 | CS-API-0007 | The body is not application/json |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.