A document is a PDF or DOCX file within an envelope. Each envelope can contain between 1 and 10 documents. Recipients sign, approve, or prepare documents during their ceremony. Documents are defined inside theDocumentation Index
Fetch the complete documentation index at: https://signatureapi-daf4ee54.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
documents array when creating an envelope. They are not created or updated independently.
A document belongs to an envelope.
Document formats
SignatureAPI supports two document formats. You must set theformat property to match the file type.
PDF (format: "pdf") accepts standard PDF files. Place fields using placeholders embedded in the document text or fixed coordinates on a page.
DOCX (format: "docx") accepts Microsoft Word files. In addition to places, DOCX documents support template fields that merge dynamic data into the document before signing begins.
format or set it to "pdf", the API returns a cannot-parse-document error. Always set format: "docx" for Word files.Providing a file
Set theurl property to a publicly accessible URL for the file. SignatureAPI downloads the file when the envelope is created.
You can host files on Amazon S3, Google Cloud Storage, Azure Blob Storage, Cloudflare R2, and other services. You can also upload files directly to SignatureAPI and use the returned URL.
Places
Places are areas in a document where recipients interact or where information is displayed automatically. Input places include signatures, initials, text inputs, checkboxes, and dropdowns. Informational places include static text, completion dates, and recipient details. Define places in theplaces array. Each place has a key and a type.
Place positioning
A place must be positioned in the document. There are two methods. Placeholders: Embed[[place_key]] in the document text. The place appears at that location. This works for both PDF and DOCX documents.
Fixed positions: Specify the page, top, and left values in the fixed_positions array. Coordinates are measured in points (1 point = 1/72 inch) from the top-left corner of the page.
See Place Positioning for details and examples.
Attributes
Show PDF Document
Show PDF Document
doc_.null if not provided. Maximum 500 characters.pdf— Standard PDF file. Supports places via placeholders or fixed positions.docx— Microsoft Word file. Supports template fields for dynamic content in addition to places.
pdf.Show fixed position
Show fixed position
key values in the document’s places array.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.360 places the field 5 inches from the top edge.72 places the field 1 inch from the left edge.type that determines its behavior. A place must be positioned using either a [[place_key]] placeholder in the document text or an entry in the fixed_positions array.Learn more about places.Show signature place
Show signature place
recipient_key, draws or types their signature. A single recipient can have multiple signature places across different pages of a document.signature.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.Show initials place
Show initials place
recipient_key, enters their initials. A single recipient can have multiple initials places across different pages of a document.initials.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.Show text place
Show text place
text.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.#. Defaults to #000000 (black).Show text input place
Show text input place
recipient_key, types free-form text. Supports input validation, placeholder text, and tooltip hints. Use capture_as to store the entered value in the envelope’s captures.text_input.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.captures object. When set, the value entered or selected by the recipient is saved under this key after the envelope is completed.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters. Set to null to disable capture.required or optional. The default is required.emailzipcode-us- a custom regular expression, enclosed in
/, for example:/^[a-z0-9]{1,10}$/
Show boxed text input place
Show boxed text input place
recipient_key, enters text one character per box. Use this for structured data such as verification codes, ZIP codes, or the last four digits of an SSN. Use capture_as to store the entered value in the envelope’s captures.boxed_text_input.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.required or optional. The default is required.captures object. When set, the value entered or selected by the recipient is saved under this key after the envelope is completed.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters. Set to null to disable capture.Show multiline text input place
Show multiline text input place
recipient_key, enters text that spans multiple lines. Use this for comments, addresses, and longer descriptions. Use capture_as to store the entered value in the envelope’s captures.multiline_text_input.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.required or optional. The default is required.captures object. When set, the value entered or selected by the recipient is saved under this key after the envelope is completed.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters. Set to null to disable capture.font_size.Must be between 6 and 72. The default is 12.Show checkbox place
Show checkbox place
recipient_key, checks or unchecks a box. Use capture_as to store the checkbox value in the envelope’s captures.checkbox.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.captures object. When set, the value entered or selected by the recipient is saved under this key after the envelope is completed.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters. Set to null to disable capture.check and xmark. The default is check.required or optional. The default is optional.Show dropdown place
Show dropdown place
recipient_key, selects from a list of options. Options can be a custom list of label-value pairs or a predefined set such as country names or US state codes. Use capture_as to store the selected value in the envelope’s captures.dropdown.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.label/value pairs, or a string specifying a predefined option set such as us_states_names or world_countries_names.auto, select, or combobox.required or optional.captures object. When set, the value entered or selected by the recipient is saved under this key after the envelope is completed.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters. Set to null to disable capture.Show recipient completed date place
Show recipient completed date place
recipient_key, completed their action on the envelope. Use date_format to control how the date is formatted.recipient_completed_date.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.D MMM YYYY (31 Dec 2025), YYYY-MM-DD (2025-12-31), and MM/DD/YYYY (12/31/2025).Defaults to D MMM YYYY.Show envelope completed date place
Show envelope completed date place
date_format to control how the date is formatted.envelope_completed_date.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.D MMM YYYY (31 Dec 2025), YYYY-MM-DD (2025-12-31), and MM/DD/YYYY (12/31/2025).Defaults to D MMM YYYY.Show recipient name place
Show recipient name place
recipient_key, at a specific location on the document. The value is inserted automatically. This place is read-only and does not require any action from the recipient.recipient_name.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.Show recipient email place
Show recipient email place
recipient_key, at a specific location on the document. The value is inserted automatically. This place is read-only and does not require any action from the recipient.recipient_email.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.Show DOCX Document
Show DOCX Document
doc_.null if not provided. Maximum 500 characters.pdf— Standard PDF file. Supports places via placeholders or fixed positions.docx— Microsoft Word file. Supports template fields for dynamic content in addition to places.
docx.{{key}} placeholder in the template file.Keys must be alphanumeric and at most 32 characters. Values can be strings, booleans, or nested objects. Nested keys map to dot-notation placeholders (for example, a key person with nested key name fills {{person.name}}). Defaults to {}.Show fixed position
Show fixed position
key values in the document’s places array.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.360 places the field 5 inches from the top edge.72 places the field 1 inch from the left edge.type that determines its behavior. A place must be positioned using either a [[place_key]] placeholder in the document text or an entry in the fixed_positions array.Learn more about places.Show signature place
Show signature place
recipient_key, draws or types their signature. A single recipient can have multiple signature places across different pages of a document.signature.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.Show initials place
Show initials place
recipient_key, enters their initials. A single recipient can have multiple initials places across different pages of a document.initials.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.Show text place
Show text place
text.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.#. Defaults to #000000 (black).Show text input place
Show text input place
recipient_key, types free-form text. Supports input validation, placeholder text, and tooltip hints. Use capture_as to store the entered value in the envelope’s captures.text_input.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.captures object. When set, the value entered or selected by the recipient is saved under this key after the envelope is completed.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters. Set to null to disable capture.required or optional. The default is required.emailzipcode-us- a custom regular expression, enclosed in
/, for example:/^[a-z0-9]{1,10}$/
Show boxed text input place
Show boxed text input place
recipient_key, enters text one character per box. Use this for structured data such as verification codes, ZIP codes, or the last four digits of an SSN. Use capture_as to store the entered value in the envelope’s captures.boxed_text_input.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.required or optional. The default is required.captures object. When set, the value entered or selected by the recipient is saved under this key after the envelope is completed.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters. Set to null to disable capture.Show multiline text input place
Show multiline text input place
recipient_key, enters text that spans multiple lines. Use this for comments, addresses, and longer descriptions. Use capture_as to store the entered value in the envelope’s captures.multiline_text_input.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.required or optional. The default is required.captures object. When set, the value entered or selected by the recipient is saved under this key after the envelope is completed.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters. Set to null to disable capture.font_size.Must be between 6 and 72. The default is 12.Show checkbox place
Show checkbox place
recipient_key, checks or unchecks a box. Use capture_as to store the checkbox value in the envelope’s captures.checkbox.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.captures object. When set, the value entered or selected by the recipient is saved under this key after the envelope is completed.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters. Set to null to disable capture.check and xmark. The default is check.required or optional. The default is optional.Show dropdown place
Show dropdown place
recipient_key, selects from a list of options. Options can be a custom list of label-value pairs or a predefined set such as country names or US state codes. Use capture_as to store the selected value in the envelope’s captures.dropdown.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.label/value pairs, or a string specifying a predefined option set such as us_states_names or world_countries_names.auto, select, or combobox.required or optional.captures object. When set, the value entered or selected by the recipient is saved under this key after the envelope is completed.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters. Set to null to disable capture.Show recipient completed date place
Show recipient completed date place
recipient_key, completed their action on the envelope. Use date_format to control how the date is formatted.recipient_completed_date.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.D MMM YYYY (31 Dec 2025), YYYY-MM-DD (2025-12-31), and MM/DD/YYYY (12/31/2025).Defaults to D MMM YYYY.Show envelope completed date place
Show envelope completed date place
date_format to control how the date is formatted.envelope_completed_date.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.D MMM YYYY (31 Dec 2025), YYYY-MM-DD (2025-12-31), and MM/DD/YYYY (12/31/2025).Defaults to D MMM YYYY.Show recipient name place
Show recipient name place
recipient_key, at a specific location on the document. The value is inserted automatically. This place is read-only and does not require any action from the recipient.recipient_name.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.Show recipient email place
Show recipient email place
recipient_key, at a specific location on the document. The value is inserted automatically. This place is read-only and does not require any action from the recipient.recipient_email.[[place_key]] placeholder in the document or an entry in fixed_positions.Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores. Maximum 32 characters.key values in the envelope’s recipients array.// HTTP Status Code 200
{
"id": "doc_3jBYlxa9gv0fGLzFAnfwxe",
"envelope_id": "5e5ace5e-bd1e-4d5a-bb1f-6a2b2e42cd13",
"key": "agreement",
"title": "Service Agreement",
"page_count": 3,
"url": "https://pub-e5051420e98a4fdfb3fd42a62fbf06fa.r2.dev/agreement.pdf",
"format": "pdf",
"fixed_positions": [
{
"place_key": "provider_signs_here",
"page": 3,
"top": 600,
"left": 72
}
],
"places": [
{
"key": "provider_signs_here",
"type": "signature",
"recipient_key": "service_provider",
"height": 60
},
{
"key": "client_signs_here",
"type": "signature",
"recipient_key": "client",
"height": 60
}
]
}