Envelopes
Create an envelope
Create a new envelope with documents and recipients to start the signing process
Creates an envelope and starts the signing process. The envelope begins in processing status while documents are validated and recipients are queued for notification. It transitions to in_progress once recipients are notified.
At minimum, provide a title, at least one document, and at least one recipient. All other properties are optional.
Body parameters
Required
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"
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
Set format to choose the document format:
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
Set type to choose the recipient type:
Signing options
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.
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.
Set type to choose the deliverable type:
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.
Recipient experience
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\nfor paragraph breaks
1 to 2000 charactersExample "Thank you for accepting to be a Mars explorer! Please sign this agreement."
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, orright. Defaults toleft. - 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.
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"
3 properties
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\nfor 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"
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.
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.
Example "MM/DD/YYYY HH:mm:ss"
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.
Example "en"
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
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"
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"
The organization name of the sender. Displayed to recipients alongside the sender's name and email.
1 to 500 charactersExample "SpiceX"
Organization
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"
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.
Example {"caseNumber":"AB5555510","customer_name":"Doe Industries, LLC"}
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.
up to 10 items
Returns
Returns a 201 Created status code along with an envelope object on success, or an error otherwise.
POST /v1/envelopes HTTP/1.1
Host: api.signatureapi.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
{
"title": "Service Agreement",
"message": "Please review the agreement and provide your signature.",
"routing": "parallel",
"documents": [
{
"key": "service_agreement",
"title": "Service Agreement",
"url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/acme-service-agreement.pdf",
"format": "pdf",
"places": [
{
"key": "client_signs_here",
"type": "signature",
"recipient_key": "client"
},
{
"key": "provider_signs_here",
"type": "signature",
"recipient_key": "provider"
}
]
}
],
"recipients": [
{
"type": "signer",
"key": "client",
"name": "Jane Doe",
"email": "jane.doe@example.com"
},
{
"type": "signer",
"key": "provider",
"name": "John Smith",
"email": "john.smith@example.com"
}
]
}npx signatureapi envelopes create --body - <<'EOF'
{
"title": "Service Agreement",
"message": "Please review the agreement and provide your signature.",
"routing": "parallel",
"documents": [
{
"key": "service_agreement",
"title": "Service Agreement",
"url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/acme-service-agreement.pdf",
"format": "pdf",
"places": [
{
"key": "client_signs_here",
"type": "signature",
"recipient_key": "client"
},
{
"key": "provider_signs_here",
"type": "signature",
"recipient_key": "provider"
}
]
}
],
"recipients": [
{
"type": "signer",
"key": "client",
"name": "Jane Doe",
"email": "jane.doe@example.com"
},
{
"type": "signer",
"key": "provider",
"name": "John Smith",
"email": "john.smith@example.com"
}
]
}
EOF{
"name": "create_envelope",
"arguments": {
"title": "Service Agreement",
"message": "Please review the agreement and provide your signature.",
"routing": "parallel",
"documents": [
{
"key": "service_agreement",
"title": "Service Agreement",
"url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/acme-service-agreement.pdf",
"format": "pdf",
"places": [
{
"key": "client_signs_here",
"type": "signature",
"recipient_key": "client"
},
{
"key": "provider_signs_here",
"type": "signature",
"recipient_key": "provider"
}
]
}
],
"recipients": [
{
"type": "signer",
"key": "client",
"name": "Jane Doe",
"email": "jane.doe@example.com"
},
{
"type": "signer",
"key": "provider",
"name": "John Smith",
"email": "john.smith@example.com"
}
]
}
}POST /v1/envelopes HTTP/1.1
Host: api.signatureapi.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
{
"title": "Offer Letter",
"label": "Offer Letter for Maria Garcia",
"routing": "sequential",
"message": "Welcome to Acme Corp! Please review and sign your offer letter.",
"topics": [
"hr",
"onboarding"
],
"metadata": {
"candidate_ref": "hr-2210"
},
"branding": {
"logo": "https://api.signatureapi.com/v1/uploads/upl_42NTdNnkg6dGLx8jR1X1wm",
"accent_color": "#9810fa",
"email": {
"footer": "**Confidential:** this email is intended only for the named recipient.",
"logo_position": "left"
}
},
"timezone": "America/New_York",
"documents": [
{
"key": "offer_letter",
"title": "Offer Letter",
"url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/acme-offer-letter-template.docx",
"format": "docx",
"data": {
"candidateName": "Maria Garcia",
"position": "Product Designer",
"startDate": "December 1, 2026",
"salary": "$92,000"
},
"places": [
{
"key": "candidate_signs_here",
"type": "signature",
"recipient_key": "candidate",
"height": 60
}
]
}
],
"recipients": [
{
"type": "approver",
"key": "hiring_manager",
"name": "Alex Chen",
"email": "alex.chen@example.com"
},
{
"type": "signer",
"key": "candidate",
"name": "Maria Garcia",
"email": "maria.garcia@example.com",
"signature_options": [
"typed",
"drawn"
],
"delivery_type": "email",
"ceremony": {
"authentication": [
{
"type": "email_code"
}
],
"redirect_url": "https://acme.example/welcome",
"embeddable_in": [],
"url_variant": "standard"
}
}
],
"deliverable": {
"type": "standard",
"language": "en",
"timezone": "America/New_York",
"timestamp_format": "MM/DD/YYYY HH:mm:ss"
}
}npx signatureapi envelopes create --body - <<'EOF'
{
"title": "Offer Letter",
"label": "Offer Letter for Maria Garcia",
"routing": "sequential",
"message": "Welcome to Acme Corp! Please review and sign your offer letter.",
"topics": [
"hr",
"onboarding"
],
"metadata": {
"candidate_ref": "hr-2210"
},
"branding": {
"logo": "https://api.signatureapi.com/v1/uploads/upl_42NTdNnkg6dGLx8jR1X1wm",
"accent_color": "#9810fa",
"email": {
"footer": "**Confidential:** this email is intended only for the named recipient.",
"logo_position": "left"
}
},
"timezone": "America/New_York",
"documents": [
{
"key": "offer_letter",
"title": "Offer Letter",
"url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/acme-offer-letter-template.docx",
"format": "docx",
"data": {
"candidateName": "Maria Garcia",
"position": "Product Designer",
"startDate": "December 1, 2026",
"salary": "$92,000"
},
"places": [
{
"key": "candidate_signs_here",
"type": "signature",
"recipient_key": "candidate",
"height": 60
}
]
}
],
"recipients": [
{
"type": "approver",
"key": "hiring_manager",
"name": "Alex Chen",
"email": "alex.chen@example.com"
},
{
"type": "signer",
"key": "candidate",
"name": "Maria Garcia",
"email": "maria.garcia@example.com",
"signature_options": [
"typed",
"drawn"
],
"delivery_type": "email",
"ceremony": {
"authentication": [
{
"type": "email_code"
}
],
"redirect_url": "https://acme.example/welcome",
"embeddable_in": [],
"url_variant": "standard"
}
}
],
"deliverable": {
"type": "standard",
"language": "en",
"timezone": "America/New_York",
"timestamp_format": "MM/DD/YYYY HH:mm:ss"
}
}
EOF{
"name": "create_envelope",
"arguments": {
"title": "Offer Letter",
"label": "Offer Letter for Maria Garcia",
"routing": "sequential",
"message": "Welcome to Acme Corp! Please review and sign your offer letter.",
"topics": [
"hr",
"onboarding"
],
"metadata": {
"candidate_ref": "hr-2210"
},
"branding": {
"logo": "https://api.signatureapi.com/v1/uploads/upl_42NTdNnkg6dGLx8jR1X1wm",
"accent_color": "#9810fa",
"email": {
"footer": "**Confidential:** this email is intended only for the named recipient.",
"logo_position": "left"
}
},
"timezone": "America/New_York",
"documents": [
{
"key": "offer_letter",
"title": "Offer Letter",
"url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/acme-offer-letter-template.docx",
"format": "docx",
"data": {
"candidateName": "Maria Garcia",
"position": "Product Designer",
"startDate": "December 1, 2026",
"salary": "$92,000"
},
"places": [
{
"key": "candidate_signs_here",
"type": "signature",
"recipient_key": "candidate",
"height": 60
}
]
}
],
"recipients": [
{
"type": "approver",
"key": "hiring_manager",
"name": "Alex Chen",
"email": "alex.chen@example.com"
},
{
"type": "signer",
"key": "candidate",
"name": "Maria Garcia",
"email": "maria.garcia@example.com",
"signature_options": [
"typed",
"drawn"
],
"delivery_type": "email",
"ceremony": {
"authentication": [
{
"type": "email_code"
}
],
"redirect_url": "https://acme.example/welcome",
"embeddable_in": [],
"url_variant": "standard"
}
}
],
"deliverable": {
"type": "standard",
"language": "en",
"timezone": "America/New_York",
"timestamp_format": "MM/DD/YYYY HH:mm:ss"
}
}
}{
"id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
"title": "Service Agreement",
"label": null,
"message": "Please review the agreement and provide your signature.",
"status": "processing",
"mode": "test",
"routing": "parallel",
"language": "en",
"timezone": "UTC",
"timestamp_format": "MM/DD/YYYY HH:mm:ss",
"attestation": "none",
"branding": {
"logo": null,
"accent_color": "#2463eb",
"email": {
"from": "noreply@signatureapi.com",
"footer": null,
"logo_position": "left"
}
},
"sender": {
"name": "Acme Corp Legal",
"email": "legal@acme.example",
"organization": "Acme Corp"
},
"topics": [],
"metadata": {},
"documents": [
{
"id": "doc_4YvlxUZN28CeonDq6rTbvk",
"envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
"key": "service_agreement",
"title": "Service Agreement",
"page_count": 1,
"url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/acme-service-agreement.pdf",
"format": "pdf",
"fixed_positions": [],
"places": [
{
"key": "client_signs_here",
"type": "signature",
"recipient_key": "client",
"height": 60
},
{
"key": "provider_signs_here",
"type": "signature",
"recipient_key": "provider",
"height": 60
}
]
}
],
"recipients": [
{
"id": "re_49r1R2jpPDz8hSpP75ZkPp",
"envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
"type": "signer",
"key": "client",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"status": "pending",
"ceremony": {
"authentication": [
{
"type": "email_link",
"subject_override": null,
"message_override": null
}
],
"redirect_url": null,
"redirect_delay": 3,
"embeddable_in": [],
"url_variant": "standard",
"url": null
},
"delivery_type": "email",
"ceremony_creation": "automatic",
"signature_options": [
"typed",
"drawn"
],
"completed_at": null,
"status_updated_at": "2026-11-02T14:03:11.000Z"
},
{
"id": "re_4VP9v4uPj6jwZzQ14CG2O8",
"envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
"type": "signer",
"key": "provider",
"name": "John Smith",
"email": "john.smith@example.com",
"status": "pending",
"ceremony": {
"authentication": [
{
"type": "email_link",
"subject_override": null,
"message_override": null
}
],
"redirect_url": null,
"redirect_delay": 3,
"embeddable_in": [],
"url_variant": "standard",
"url": null
},
"delivery_type": "email",
"ceremony_creation": "automatic",
"signature_options": [
"typed",
"drawn"
],
"completed_at": null,
"status_updated_at": "2026-11-02T14:03:11.000Z"
}
],
"deliverable": {
"id": "del_6FF89lKNyTNamOJCJd1tLL",
"name": null,
"envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
"type": "standard",
"status": "pending",
"url": null,
"language": "en",
"timezone": "UTC",
"timestamp_format": "MM/DD/YYYY HH:mm:ss",
"included_documents": [
"service_agreement"
],
"password": null,
"created_at": "2026-11-02T14:03:11.000Z",
"generated_at": null
},
"captures": {},
"snapshot_url": null,
"created_at": "2026-11-02T14:03:11.000Z",
"completed_at": null
}{
"type": "https://signatureapi.com/docs/v1/errors/validation-error",
"title": "Validation Error",
"status": 422,
"detail": "The request body contains validation errors.",
"errors": [
"recipients[0].email must be a valid email address"
]
}{
"id": "688d2c9f-5dbe-4bc4-bd0b-2e0459016be8",
"title": "Offer Letter",
"label": "Offer Letter for Maria Garcia",
"message": "Welcome to Acme Corp! Please review and sign your offer letter.",
"status": "processing",
"mode": "test",
"routing": "sequential",
"language": "en",
"timezone": "America/New_York",
"timestamp_format": "MM/DD/YYYY HH:mm:ss",
"attestation": "none",
"branding": {
"logo": "https://api.signatureapi.com/v1/uploads/upl_42NTdNnkg6dGLx8jR1X1wm",
"accent_color": "#9810fa",
"email": {
"from": "noreply@signatureapi.com",
"footer": "**Confidential:** this email is intended only for the named recipient.",
"logo_position": "left"
}
},
"sender": {
"name": "Acme Corp Legal",
"email": "legal@acme.example",
"organization": "Acme Corp"
},
"topics": [
"hr",
"onboarding"
],
"metadata": {
"candidate_ref": "hr-2210"
},
"documents": [
{
"id": "doc_0Pwd2LsJXeWGOJQwRctqC1",
"envelope_id": "688d2c9f-5dbe-4bc4-bd0b-2e0459016be8",
"key": "offer_letter",
"title": "Offer Letter",
"page_count": 1,
"url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/acme-offer-letter-template.docx",
"format": "docx",
"data": {
"candidateName": "Maria Garcia",
"position": "Product Designer",
"startDate": "December 1, 2026",
"salary": "$92,000"
},
"fixed_positions": [],
"places": [
{
"key": "candidate_signs_here",
"type": "signature",
"recipient_key": "candidate",
"height": 60
}
]
}
],
"recipients": [
{
"id": "re_1mdt9PluVuu4QIhYYe8R1P",
"envelope_id": "688d2c9f-5dbe-4bc4-bd0b-2e0459016be8",
"type": "approver",
"key": "hiring_manager",
"name": "Alex Chen",
"email": "alex.chen@example.com",
"status": "pending",
"ceremony": {
"authentication": [
{
"type": "email_link",
"subject_override": null,
"message_override": null
}
],
"redirect_url": null,
"redirect_delay": 3,
"embeddable_in": [],
"url_variant": "standard",
"url": null
},
"delivery_type": "email",
"ceremony_creation": "automatic",
"completed_at": null,
"status_updated_at": "2026-11-02T16:30:00.000Z"
},
{
"id": "re_2f0wBwlt2te0kjU5QeL3Nl",
"envelope_id": "688d2c9f-5dbe-4bc4-bd0b-2e0459016be8",
"type": "signer",
"key": "candidate",
"name": "Maria Garcia",
"email": "maria.garcia@example.com",
"status": "pending",
"ceremony": {
"authentication": [
{
"type": "email_code"
}
],
"redirect_url": "https://acme.example/welcome",
"redirect_delay": 3,
"embeddable_in": [],
"url_variant": "standard",
"url": null
},
"delivery_type": "email",
"ceremony_creation": "automatic",
"signature_options": [
"typed",
"drawn"
],
"completed_at": null,
"status_updated_at": "2026-11-02T16:30:00.000Z"
}
],
"deliverable": {
"id": "del_4l3fQxvjRTltbPbzIbOlmK",
"name": null,
"envelope_id": "688d2c9f-5dbe-4bc4-bd0b-2e0459016be8",
"type": "standard",
"status": "pending",
"url": null,
"language": "en",
"timezone": "America/New_York",
"timestamp_format": "MM/DD/YYYY HH:mm:ss",
"included_documents": [
"offer_letter"
],
"password": null,
"created_at": "2026-11-02T16:30:00.000Z",
"generated_at": null
},
"captures": {},
"snapshot_url": null,
"created_at": "2026-11-02T16:30:00.000Z",
"completed_at": null
}Errors every call can return are in Errors and Authentication.