A document is a file within an envelope. It can be either a signable item, such as a contract, or for informational purposes only, like a cover letter. It can be either in PDF or docx format.

Using templates, documents can be generated programmatically by combining a static template with dynamic data.

Relationships

A document belongs to an envelope.

Places

Places are specific areas in a document where recipients can perform actions, such as signing or entering data. They can also include information generated during the signing process, like signing dates.

You can position places in the document either by using a placeholder or by setting them in a fixed position.

These places are specified in the places array within the Document object. Fixed positions are defined in the fixed_positions array.