Skip to content

Envelopes

Envelope

The envelope object: its documents, recipients, routing, branding, topics, metadata, captures, deliverable and status, with every property explained.

An envelope is a container that holds documents to be sent to recipients for signature. It defines and manages the signing process for those documents.

When an envelope is completed, a deliverable is generated and sent to the recipients.

Relationships

An envelope:

  • Has one or more recipients (signers, approvers, preparers, automatic signers, or qualified signers)
  • Has one or more documents (PDF or DOCX format)
  • Has one or more deliverables generated upon completion

Attributes

idstring

The unique identifier of the envelope, in UUID format.

format uuidExample "5e5ace5e-bd1e-4d5a-bb1f-6a2b2e42cd13"

statusstring

The current status of the envelope in its lifecycle.

  • processing: The envelope is being prepared. Documents are validated and recipients are notified.
  • in_progress: The envelope has been sent to recipients and is waiting for all participants to complete.
  • completed: All recipients have completed their part. The deliverable may still be generating; the deliverable.generated event signals it is ready.
  • failed: An internal error occurred during processing. Failures are rare and trigger automatic alerts.
  • canceled: The signing process was intentionally stopped before completion.

The typical progression is processing -> in_progress -> completed. An envelope can transition to failed from processing, or to canceled from in_progress via the Cancel Envelope endpoint.

Learn more about the envelope lifecycle.

Example "completed"

labelstring | null

A custom label for internal identification of the envelope. Labels are not shown to recipients.

Use labels to add internal context that helps your team find and manage envelopes. Unlike the title (which recipients see), the label is for your use only. Labels can be updated at any time via the Update Envelope endpoint.

1 to 500 charactersExample "Explorer Agreement #7772 Mr Spender"

metadataobject

Set of key-value pairs to store additional information about the envelope. Use metadata to attach internal reference IDs, tracking numbers, or other data that connects envelopes to your systems.

Metadata is included in all API responses and webhook payloads (in the data.envelope_metadata field), making it useful for correlating events with your records.

Up to 10 keys are allowed. Keys can be up to 32 characters (letters, digits, and underscores). Values can be up to 1,000 characters.

Use metadata only for ordinary business identifiers that are appropriate to store with an envelope.

Learn more about metadata.

Example {"caseNumber":"AB5555510","customer_name":"Doe Industries, LLC"}

messagestring | null

A custom message included in the signing request emails sent to recipients. Use this to provide context about what is being signed.

The message supports a subset of Markdown formatting:

  • **bold** for bold text
  • *italic* for italic text
  • \n\n for paragraph breaks

1 to 2000 charactersExample "Thank you for accepting to be a Mars explorer! Please sign this agreement."

modestring

The mode of the envelope, which determines its legal status and billing.

  • live: Legally binding and billable. Created when using a live API key.
  • test: Not legally binding and free of charge. Created when using a test API key.

The mode is set automatically based on the API key used to create the envelope and cannot be changed afterward.

Example "live"

titlestring

The title of the envelope, displayed to recipients in emails and the signing ceremony.

Choose a clear title that helps recipients understand what they are signing. For an internal description that will not be shown to recipients, use the label property instead.

1 to 500 charactersExample "Mars Exploration Agreement"

topicsarray<string>

Tags used to classify and filter envelopes. Up to 10 topics can be assigned per envelope.

Topics enable two key workflows: filtering webhook notifications so that specific endpoints only receive events for relevant envelopes, and querying envelopes by topic through the List Envelopes endpoint.

Learn more about topics.

up to 10 items

timezonestring

The time zone applied to timestamps in the deliverable's audit log. Must be a valid IANA Time Zone Database identifier (e.g., America/New_York, Europe/London).

If not specified, the account's default timezone is used.

Learn more about time zones.

Example "America/New_York"

The date and time format used for timestamps in the deliverable's audit log. Uses MomentJS format tokens (e.g., MM/DD/YYYY HH:mm:ss).

If not specified, the account's default timestamp format is used.

Learn more about timestamp formats.

Example "MM/DD/YYYY HH:mm:ss"

languagestring

The language used for the signing ceremony, recipient emails, and the audit log in deliverables.

Supported languages: en (English), es (Spanish), fr (French), it (Italian), pt (Portuguese), de (German), zh (Chinese Simplified), hu (Hungarian), nl (Dutch).

If not specified, the account's default language will be used instead.

Learn more about language.

Example "en"

routingstring

Controls the order in which recipients receive and act on the envelope.

  • sequential: Recipients receive the envelope one at a time, in the order listed. Each recipient must complete their part before the next one is notified. Subsequent recipients can see signatures and data from those who acted before them.
  • parallel: All recipients receive the envelope at the same time and can act in any order.

Defaults to sequential if not specified.

Learn more about recipient routing.

Specifies the regulatory or compliance attestation applied to a completed envelope. Attestations are optional and enable adherence to country-specific e-signature regulations.

  • none: No attestation. This is the default.
  • mx_nom151: Complies with Mexico's NOM-151 standard for data message preservation and document digitization. A preservation certificate (Constancia de Conservacion) in ASN.1 format is attached to the deliverable. A verification link is included on the last page of the document. This option must be enabled at the account level before use. An additional fee of $0.10 per completed envelope applies.
  • br_icp_brasil: Complies with Brazil's ICP-Brasil trusted timestamping (carimbo do tempo) under MP 2.200-2/2001. An RFC 3161 timestamp issued by an ICP-Brasil accredited authority is embedded in the deliverable as a PDF document timestamp, verifiable in standard PDF readers. This option must be enabled at the account level before use.
For more information, see Attestation.
documentsarray of documents

The documents included in the envelope for recipients to sign. An envelope can contain between 1 and 10 documents.

Each document must be a publicly accessible PDF or DOCX file. Documents can include interactive elements called places (such as signature fields, text inputs, and checkboxes) that recipients interact with during the signing ceremony.

DOCX documents also support template data population through the data property.

1 to 10 items

format tells these apart:

recipientsarray of recipients

The recipients who will participate in the envelope's signing process. An envelope has at least 1 recipient and, by default, at most 10. The maximum is an account setting.

Five recipient types are supported:

  • signer: Signs the documents.
  • qualified_signer: Signs the documents with a qualified electronic signature.
  • preparer: Fills in fields before signers receive the documents.
  • approver: Reviews and approves the documents without signing.
  • automatic_signer: Has their signature applied automatically.

The order in which recipients act depends on the envelope's routing setting. With sequential routing (the default), recipients act one at a time in order. With parallel routing, all recipients act at the same time.

1 to 10 items

type tells these apart:

senderobject

The sender of the envelope. Sender information appears in the emails sent to recipients, identifying who initiated the signing request.

If omitted, the account's default sender name and email will be used.

3 properties
namestring

The name of the sender, displayed to recipients in emails and the signing ceremony.

If not specified, the account's default sender name is used.

1 to 500 charactersExample "Melon Musk"

emailstring

The email address of the sender, shown to recipients for reference.

If not specified, the account's default sender email is used.

up to 320 charactersformat emailExample "melon@example.com"

organizationstring | null

The organization name of the sender. Displayed to recipients alongside the sender's name and email.

1 to 500 charactersExample "SpiceX"

capturesobject

Data captured from recipients during the signing ceremony. Each key corresponds to a capture_as identifier defined on a text input, boxed text input, multi-line text input, checkbox, dropdown or radio group place. Values are strings for text inputs, the selected option's value for dropdowns and radio groups, booleans for checkboxes, and null when not filled.

Learn more about captures.
snapshot_urlstring | null

The URL to a PDF snapshot of the envelope, showing documents and signatures collected so far.

Availability

To return a valid URL, the envelope must meet all of the following criteria (otherwise, this field returns null):

  • It uses sequential routing.
  • It is currently in progress (ie. not completed).
  • It was created within 1 year.

Pre-signed URLs (Default)

By default, this is a short-lived, pre-signed URL that requires no further authentication to download.

The URL expires after 1 hour. If the link has expired, you can generate a new one by retrieving the envelope again.

Authenticated URLs

If you requested authenticated URLs, for example to achieve HIPAA compliance, the URL must be accessed using the API key, in the same way as other requests to this API.

Authenticated URLs do not expire.

format uriExample "https://www.example.com/repository/envelope-snapshot.pdf"

deliverableobject | null

Defines the default deliverable configuration for the envelope. The deliverable is the final signed document package generated when all recipients complete the envelope. It is sent to all recipients unless their recipient.delivery_type is set to none.

Two types are available:

  • standard: Includes signed documents and an audit log.
  • simple: Includes signed documents only, without an audit log.

If no deliverable is provided, a standard deliverable is automatically generated.

Learn more about the standard deliverable and the simple deliverable.

type tells these apart:

The time at which the envelope was created, in ISO 8601 format.

format date-timeExample "2024-06-15T10:00:00Z"

completed_atstring | null

The time at which all recipients completed the envelope, in ISO 8601 format.

This field is null until the envelope reaches completed status.

format date-timeExample "2024-06-15T14:30:00Z"

brandingobject

Customizes the visual appearance of the signing ceremony and recipient emails. Branding does not affect internal notifications or the signed documents themselves.

The following branding options are available:

  • logo: A logo image displayed in the header of emails and the signing ceremony. Must be a PNG file uploaded to the Library.
  • accent_color: A hex color code applied to buttons in emails and the signing ceremony. Must meet a 4.5:1 contrast ratio against white (WCAG). Defaults to #2463eb.
  • email.footer: A custom footer appended to emails. Supports Markdown for bold, italic, and paragraph breaks. Useful for disclaimers or contact information.
  • email.logo_position: Controls logo alignment in emails: left, center, or right. Defaults to left.
  • email.from: The email address shown in the "From" field. Defaults to noreply@signatureapi.com. To send from your own domain, contact support to register it on your account, then add the DNS records support sends you.
Learn more about branding.
3 properties

The URL of the logo image displayed in the header of emails and the signing ceremony.

The logo must be a PNG file uploaded to the Library. For best results, use an image with a minimum height of 160px, a file size under 100KB, and a transparent background.

up to 2048 charactersformat uriExample "https://api.signatureapi.com/v1/uploads/upl_3joO7lxE8HVhOZmkCHFCxK"

The accent color applied to buttons in emails and the signing ceremony. Specified as a hex color code (e.g., #2463eb).

The color must have a contrast ratio of at least 4.5:1 against white, following WCAG guidelines. If the color does not meet this requirement, the API returns an error with a suggested compliant alternative.

Does not affect input fields, checkboxes, or signature boxes. Defaults to #2463eb (blue) if not specified.

pattern ^#[a-fA-F0-9]{6}$Example "#2463eb"

emailobject
3 properties
fromstring

The email address shown in the "From" field of the emails SignatureAPI sends to recipients for this envelope. Defaults to noreply@signatureapi.com.

To send from your own domain, for example contracts@example.com, contact support to register the domain on your account. Support sends you the DNS records to add at your DNS provider: DKIM CNAME records, an MX record and an SPF TXT record on a sending subdomain, and a DMARC TXT record if the domain has none. Emails from the domain are delivered once those records are in place.

The API rejects an address whose domain is not registered on your account. Any address on a registered domain is accepted.

up to 320 charactersformat emailExample "noreply@signatureapi.com"

A custom footer included at the bottom of all emails sent to recipients for this envelope. The footer appears after SignatureAPI's standard footer content.

Use this for company disclaimers, privacy notices, or contact information.

The footer supports a subset of Markdown formatting:

  • **bold** for bold text
  • *italic* for italic text
  • \n\n for paragraph breaks

1 to 10000 characters

The horizontal alignment of the logo in recipient emails.

  • left: Aligns the logo to the left.
  • center: Centers the logo.
  • right: Aligns the logo to the right.

Defaults to left if not specified.

Example "left"