> For the complete documentation index, see [llms.txt](https://docs.zapsign.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zapsign.com.br/zapsign-api/espanol/facilitadores/sdks/java-sdk/used-classes/body/doc.md).

# Doc

Class to create documents

### Properties:

| name                         |                                              type                                              | description                                                                                                                                                                                                                                                                                                                                                                           |
| ---------------------------- | :--------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| sandbox                      |                                             boolean                                            | If true, the document will be a test and will not have legal validity.                                                                                                                                                                                                                                                                                                                |
| name                         |                                             String                                             | document name                                                                                                                                                                                                                                                                                                                                                                         |
| lang                         |                                             String                                             | <p>document language. Possible values: </p><p>"pt-br" (Portuguese), </p><p>"es" (Spanish), </p><p>"en" (English). </p><p>Default: "pt-br"</p>                                                                                                                                                                                                                                         |
| disable\_signer\_emails      |                                             boolean                                            | <p>To disable emails sent to signers, send this parameter to true. </p><p>Default: false</p>                                                                                                                                                                                                                                                                                          |
| signed\_file\_only\_finished |                                             boolean                                            | <p>To disable the "Download Original" and "Download Signed" buttons from the signer experience, enable this flag. Thus, you are the one who will be in charge of delivering the signed\_file to the signer. </p><p>Default: false</p>                                                                                                                                                 |
| brand\_logo                  |                                             String                                             | <p>If you want to customize the logo of the signing experience for this specific document, submit the image URL (must be a publicly accessible link). </p><p>Default: ""</p>                                                                                                                                                                                                          |
| brand\_primary\_color        |                                             String                                             | <p>If you want to customize the primary (button) color of the signing experience for this specific document, send it in rgb or hexadecimal. </p><p>Ex: "#0011ee". </p><p>Default: ""</p>                                                                                                                                                                                              |
| brand\_name                  |                                             String                                             | <p>if you want to customize the sender name of emails sent to the signer, enter the brand name here. For example, if you entered "XPTO Advogados", the sender of the email will be "XPTO Advogados via ZapSign". </p><p>Max-length: 100 characters. </p><p>Default: ""</p>                                                                                                            |
| external\_id                 |                                             String                                             | <p>ID of the document in your application. </p><p>Default: ""</p>                                                                                                                                                                                                                                                                                                                     |
| folder\_path                 |                                             String                                             | <p>path of the folder inside ZapSign where the document will be placed. If the folders do not exist, they will be created automatically. Requirements: (1) folder\_path can be up to 255 characters long, (2) each folder can be up to 50 characters long, (3) there is a limit of 5 folder levels. </p><p>Ex.: "/api/" or "/folder1/folder2/folder3/". Default: "/" (no folder).</p> |
| date\_limit\_to\_sign        |                                              Date                                              | Deadline for signing the document. (Accepted formats: YYYY-MM-DD, YYYY-MM-DDTH:m:s.ssssssZ)                                                                                                                                                                                                                                                                                           |
| signature\_order\_active     |                                             boolean                                            | <p>If true, the signer's signatures will be ordered sequentially. </p><p>Default: false</p>                                                                                                                                                                                                                                                                                           |
| observers                    |                                       ArrayList\<String>                                       | Represents document observers (limit 20), i.e. email addresses that will be notified upon completion of the signature flow. It's an array of strings.                                                                                                                                                                                                                                 |
| signers                      |  List<[Signer](/zapsign-api/espanol/facilitadores/sdks/java-sdk/used-classes/body/signer.md)>  | Represents the document signers                                                                                                                                                                                                                                                                                                                                                       |
| reminder\_every\_n\_days     |                                               int                                              | Represents the interval of days between reminders that will be sent to signers, as long as they don\`t sign. There will be 3 tries at most. Observation: this field must only be filled if send\_automatic\_whatsapp or send\_automatic\_email are true. Example: if setted to 8 it will be sent one email every 7 days, until it's signed, for at most 21 days.                      |
| created\_by                  | [CreateBy](/zapsign-api/espanol/facilitadores/sdks/java-sdk/used-classes/response/createby.md) | <p>email of the user who will be defined as creator of the document, for internal organization purposes. If the email does not exist or is not your account user, this parameter will be ignored. </p><p>Default: "" </p><p>(document will have account owner as creator)</p>                                                                                                         |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.zapsign.com.br/zapsign-api/espanol/facilitadores/sdks/java-sdk/used-classes/body/doc.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
