# Add timestamp

The Timestamp is an advanced security solution that enhances the document signing process by recording not only the date and time of the signer's device but also the date and time from an external server approved by a Trusted Timestamp Authority.

***

### Adding Timestamp to Documents

Using this endpoint, you can add a timestamp to your documents, ensuring their existence at a specific moment and securing the integrity of the digital signature.

<mark style="color:green;">`POST`</mark> `https://api.zapsign.com.br/api/v1/timestamp/`

| Name          | Value                          |
| ------------- | ------------------------------ |
| Content-Type  | `application/json`             |
| Authorization | `API_TOKEN_DA_SUA_ORGANIZAÇÃO` |

**Body**

**This field is a string**. Simply provide the public URL of your document (PDF or DOCX) up to 10MB. Alternatively, you can convert your file to a base64 string and include it in this parameter.

```json
{
    "url": "<Add_your_url_or_base64>"
}
```

#### Possible responses

{% tabs %}
{% tab title="200 Document created successfully." %}

```javascript
{
    "url": "https://zapsign.s3.amazonaws.com/pdf/62c2b027-d8fc-4392-xas75-f3c46c3cfc7a/d33336-4182-8c8b-ded5287e4c0f.pdf"
}
```

{% endtab %}

{% tab title="402 Payment Required" %}
{ "error": "Payment Required" \
}
{% endtab %}
{% endtabs %}

{% hint style="info" %}
[Contact a specialist](https://zapsign.co/contact-sales?hsCtaTracking=f29cb894-a383-4ae5-ad40-8567b0f3257e%7C29b2d094-e9d4-4165-b8f3-5c9c26eae155) to add this functionality to your plan!
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zapsign.com.br/english/timestamp/criar-documento.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
