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.

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

  • cursorstring
  • limitinteger

    minimum 1 · maximum 200 · Default 50

  • statusstring

    One status, or several separated by commas (any of them).

  • qstring

    Text the subject, or a recipient's name or email, contains (ignoring case); at most 200 characters, no control characters.

    at most 200 characters

  • sortstring

    created_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) or status (lifecycle order: draft, sent, delivered, completing, completed, declined, voided, expired). Ties are broken by id.

    One of created_at, updated_at, expires_at, subject, status · Default created_at

  • orderstring

    Default desc for the times, asc for subject and status.

    One of asc, desc

  • senderstring

    A sender's user id, or me. Without view_all another sender's id answers an empty page.

  • fromstring

    date_field at or after this instant (RFC 3339).

    RFC 3339 time

  • tostring

    date_field before this instant (RFC 3339).

    RFC 3339 time

  • Which date from and to bound: the last change (default), creation, sending or completion. An envelope without that date is outside any range.

    One of updated_at, created_at, sent_at, completed_at · Default updated_at

  • recipientstring

    Text a recipient's name or email contains, ignoring case; at most 200 characters.

    at most 200 characters

  • folderstring

    One of the caller's folders (another member's matches nothing), or none: in none of the caller's folders.

  • deletedstring

    true: only the envelopes removed from the lists, the Deleted view.

    One of true, false · Default false

  • me: the Inbox.

    One of me

  • true: 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.

    One of true, false · Default false

  • RFC 3339: only envelopes expiring before it, the Expiring soon quick view; one that never expires is outside it.

    RFC 3339 time

  • Only envelopes with a custom field of exactly this name.

    at most 100 characters

  • With custom_field: text that field's value contains, ignoring case; % and _ match themselves.

    at most 200 characters

Returns

200 with a EnvelopePage object.

GET/api/v1/envelopes

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,
)
Response200
{
  "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
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.read
429CS-API-0003Rate 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

  • Up to 255 printable ASCII characters; a replay within 24 hours returns the first response.

    at most 255 characters

Request body

Content type application/json · required

  • subjectstring

    at most 255 characters

  • messagestring

    at most 10000 characters

  • statusstring

    One of draft, sent · Default draft

  • Child attributes of documents
    • namestringRequired

      at most 255 characters

    • content_base64stringRequired

      At most 50 MiB decoded

  • Child attributes of recipients
    • refstring

      Name for fields in the same request

    • typestringRequired

      One of signer, in_person_signer, approver, viewer, cc, editor, intermediary, agent, witness, seal, notary

    • namestringRequired

      at most 255 characters

    • emailstring
    • phonestring
    • minimum 1 · maximum 999 · Default 1

    • deliverystring

      One of email, sms, none

    • autharray of string
    • With auth: [access_code]; stored as Argon2id only

    • excluded_documentsarray of string or integer

      Documents 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).

    • Delayed 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).

      minimum 0 · maximum 65535 · Default 0

    • 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 a signer, 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 is 422 CS-RSP-0001; changing the type while the recipient's session is open is 409 CS-RSP-0007.

      Child attributes of signature
      • typestringRequired

        One of simple, remote

      • matches ^[a-z0-9][a-z0-9-]{0,31}$

  • fieldsarray of FieldIn
    Child attributes of fields
  • remindersobject
    Child attributes of reminders
  • Child attributes of signing_options
    • Default true

    • Default true

    • Default true

    • Record 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.

      Default false

    • Stamp "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's stamp_envelope_id setting. Changeable only while a draft (a correction that changes it is 409 CS-WF-0001).

      Default false

    • A signer may sign on paper instead: print the documents, sign by hand and upload the scan (POST /s/{token}/paper). Absent when off.

      Default false

  • One of pades-b-t, pades-b-lt, pades-b-lta

  • text_tagsboolean

    Place 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.

POST/api/v1/envelopes

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,
    },
)
Response201
{
  "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
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.write
409CS-API-0004The idempotency key was used with a different body (CS-API-0011 while the first is still running)
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate 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

  • Up to 255 printable ASCII characters; a replay within 24 hours returns the first response.

    at most 255 characters

Request body

Content type application/json · required

  • template_idsarray of stringRequired

    Templates the caller may use (another account's, or one not shared with the caller, is 422 at /template_ids/{i}); each once

    at least 1 items · at most 10 items

  • recipientsarray of object

    at most 100 items

    Child attributes of recipients
    • rolestring

      The role this person fills (422 at /recipients/{i}/role if no template has it or it is filled twice)

    • namestringRequired
    • emailstring
    • typestring

      Only for a person with no role

      One of cc, signer

  • subjectstring

    Default: the first template's email subject, else its name

  • messagestring

    Default: the first template's message

  • statusstring

    draft (default) or sent (needs envelopes.send)

    One of draft, sent

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
POST/api/v1/envelopes/from-templates

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",
    },
)
Response201
{
  "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
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.write
409CS-API-0004The idempotency key was used with a different body (CS-API-0011 while the first is still running)
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Returns

200 with a Envelope object.

GET/api/v1/envelopes/{id}

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",
)
Response200
{
  "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
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.read
404CS-API-0002No such object, or one of another account (answered alike)
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Headers

  • If-MatchstringRequired

    The envelope's ETag as read ("v<version>"); a stale one is 412 CS-WF-0002, none is 428 CS-API-0008.

Request body

Content type application/json · required

  • subjectstring
  • messagestring
  • remindersobject
  • expires_in_daysinteger or null
  • Child attributes of signing_options
    • Default true

    • Default true

    • Default true

    • Record 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.

      Default false

    • Stamp "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's stamp_envelope_id setting. Changeable only while a draft (a correction that changes it is 409 CS-WF-0001).

      Default false

    • A signer may sign on paper instead: print the documents, sign by hand and upload the scan (POST /s/{token}/paper). Absent when off.

      Default false

Returns

200 with a Envelope object.

PATCH/api/v1/envelopes/{id}

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",
    },
)
Response200
{
  "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
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.write
404CS-API-0002No such object, or one of another account (answered alike)
412CS-WF-0002The If-Match version is stale: read the object again
428CS-API-0008If-Match is required and absent
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Headers

  • If-MatchstringRequired

    The envelope's ETag as read ("v<version>"); a stale one is 412 CS-WF-0002, none is 428 CS-API-0008.

Returns

204 Done with no body.

DELETE/api/v1/envelopes/{id}

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\"",
)
Response204

No body.

Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.write
404CS-API-0002No such object, or one of another account (answered alike)
412CS-WF-0002The If-Match version is stale: read the object again
428CS-API-0008If-Match is required and absent
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Returns

200 with a EnvelopeStatusInfo object.

GET/api/v1/envelopes/{id}/status

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",
)
Response200
{
  "id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
  "status": "sent",
  "version": 3,
  "recipients": [
    {}
  ]
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.read
404CS-API-0002No such object, or one of another account (answered alike)
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Headers

  • Up to 255 printable ASCII characters; a replay within 24 hours returns the first response.

    at most 255 characters

Returns

200 with a Envelope object.

POST/api/v1/envelopes/{id}/send

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",
)
Response200
{
  "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
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.send
404CS-API-0002No such object, or one of another account (answered alike)
409CS-API-0004The idempotency key was used with a different body (CS-API-0011 while the first is still running)
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Headers

  • Up to 255 printable ASCII characters; a replay within 24 hours returns the first response.

    at most 255 characters

Request body

Content type application/json · required

  • send_atstringRequired

    After now, at most 365 days ahead, before the expiry

    RFC 3339 time

Returns

200 with a Envelope object.

PUT/api/v1/envelopes/{id}/schedule

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",
    },
)
Response200
{
  "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
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.send
404CS-API-0002No such object, or one of another account (answered alike)
409CS-API-0004The idempotency key was used with a different body (CS-API-0011 while the first is still running)
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Returns

200 with a Envelope object.

DELETE/api/v1/envelopes/{id}/schedule

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",
)
Response200
{
  "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
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.send
404CS-API-0002No such object, or one of another account (answered alike)
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Headers

  • Up to 255 printable ASCII characters; a replay within 24 hours returns the first response.

    at most 255 characters

Request body

Content type application/json · required

  • reasonstringRequired

    at most 10000 characters

Returns

200 with a Envelope object.

POST/api/v1/envelopes/{id}/void

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",
    },
)
Response200
{
  "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
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.send
404CS-API-0002No such object, or one of another account (answered alike)
409CS-API-0004The idempotency key was used with a different body (CS-API-0011 while the first is still running)
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Returns

200 with a CustomFields object.

GET/api/v1/envelopes/{id}/custom-fields

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",
)
Response200
{
  "items": [
    {
      "name": "Example Signer",
      "value": "Example Corp"
    }
  ]
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.read
404CS-API-0002No such object, or one of another account (answered alike)
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Request body

Content type application/json · required

  • itemsarray of objectRequired

    at most 100 items

    Child attributes of items
    • namestringRequired

      at least 1 characters · at most 100 characters

    • valuestringRequired

      at most 1000 characters

Returns

200 with a CustomFields object.

PUT/api/v1/envelopes/{id}/custom-fields

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",
            },
        ],
    },
)
Response200
{
  "items": [
    {
      "name": "Example Signer",
      "value": "Example Corp"
    }
  ]
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.write
404CS-API-0002No such object, or one of another account (answered alike)
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Headers

  • If-MatchstringRequired

    The envelope's ETag as read ("v<version>"); a stale one is 412 CS-WF-0002, none is 428 CS-API-0008.

  • Up to 255 printable ASCII characters; a replay within 24 hours returns the first response.

    at most 255 characters

Request body

Content type application/json · required

  • to_userstringRequired

    An enabled member of this workspace

  • Only this workspace; another is 422 CS-ORG-0009

Returns

200 with a Envelope object.

POST/api/v1/envelopes/{id}/transfer

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",
    },
)
Response200
{
  "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
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.transfer
404CS-API-0002No such object, or one of another account (answered alike)
409CS-API-0004The idempotency key was used with a different body (CS-API-0011 while the first is still running)
412CS-WF-0002The If-Match version is stale: read the object again
428CS-API-0008If-Match is required and absent
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Headers

  • If-Matchstring

    The envelope's ETag as read; a stale one is 412 CS-WF-0002.

Returns

200 with a Envelope object.

POST/api/v1/envelopes/{id}/restore

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\"",
)
Response200
{
  "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
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.write
404CS-API-0002No such object, or one of another account (answered alike)
412CS-WF-0002The If-Match version is stale: read the object again
428CS-API-0008If-Match is required and absent
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Headers

  • If-MatchstringRequired

    The envelope's ETag as read ("v<version>"); a stale one is 412 CS-WF-0002, none is 428 CS-API-0008.

  • Up to 255 printable ASCII characters; a replay within 24 hours returns the first response.

    at most 255 characters

Request body

Content type application/json · required

Returns

200 with a Envelope object.

POST/api/v1/envelopes/{id}/correct

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": [
            {},
        ],
    },
)
Response200
{
  "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
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.send
404CS-API-0002No such object, or one of another account (answered alike)
409CS-API-0004The idempotency key was used with a different body (CS-API-0011 while the first is still running)
412CS-WF-0002The If-Match version is stale: read the object again
428CS-API-0008If-Match is required and absent
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Headers

  • Up to 255 printable ASCII characters; a replay within 24 hours returns the first response.

    at most 255 characters

Request body

Content type application/json · required

Returns

200 with a Envelope object.

POST/api/v1/envelopes/{id}/resend

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",
        ],
    },
)
Response200
{
  "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
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.send
404CS-API-0002No such object, or one of another account (answered alike)
409CS-API-0004The idempotency key was used with a different body (CS-API-0011 while the first is still running)
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate limited: wait for Retry-After seconds

Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.

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

Headers

Returns

201 with a SigningView object.

POST/api/v1/envelopes/{id}/sign-link
Response201
{
  "url": "https://app.example.com/openseal/callback",
  "expires_at": "2026-12-20T09:30:00Z"
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
404CS-API-0002No such object, or one of another account (answered alike)
409CS-API-0004The idempotency key was used with a different body (CS-API-0011 while the first is still running)
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Headers

  • Up to 255 printable ASCII characters; a replay within 24 hours returns the first response.

    at most 255 characters

Request body

Content type application/json · required

  • recipient_idstringRequired
  • The host's statement of how it authenticated the signer

  • The origin of the page that frames the view (https://host[:port]), one of the workspace's embedding_origins; the view page's frame-ancestors and the only origin its events are posted to. Not on the list: 422 CS-EMB-0001

  • Where the browser goes when the view ends, with event and state added to its query; its origin must be one of the workspace's embedding_origins (422 CS-EMB-0001)

  • statestring

    An opaque value given back with every event and on the return URL

    at most 1024 characters

Returns

201 with a SigningView object.

POST/api/v1/envelopes/{id}/views/signing

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",
    },
)
Response201
{
  "url": "https://app.example.com/openseal/callback",
  "expires_at": "2026-12-20T09:30:00Z"
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.send
404CS-API-0002No such object, or one of another account (answered alike)
409CS-API-0004The idempotency key was used with a different body (CS-API-0011 while the first is still running)
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Headers

  • Up to 255 printable ASCII characters; a replay within 24 hours returns the first response.

    at most 255 characters

Request body

Content type application/json

Returns

201 with a SigningView object.

POST/api/v1/envelopes/{id}/views/prepare

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",
    },
)
Response201
{
  "url": "https://app.example.com/openseal/callback",
  "expires_at": "2026-12-20T09:30:00Z"
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.send
404CS-API-0002No such object, or one of another account (answered alike)
409CS-API-0004The idempotency key was used with a different body (CS-API-0011 while the first is still running)
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate 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

  • idstringRequired

    Object id (UUIDv7)

Headers

  • Up to 255 printable ASCII characters; a replay within 24 hours returns the first response.

    at most 255 characters

Request body

Content type application/json

Returns

201 with a SigningView object.

POST/api/v1/envelopes/{id}/views/correct

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",
    },
)
Response201
{
  "url": "https://app.example.com/openseal/callback",
  "expires_at": "2026-12-20T09:30:00Z"
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks envelopes.send
404CS-API-0002No such object, or one of another account (answered alike)
409CS-API-0004The idempotency key was used with a different body (CS-API-0011 while the first is still running)
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate limited: wait for Retry-After seconds

Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.