> For the complete documentation index, see [llms.txt](https://docs.autentique.com.br/api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autentique.com.br/api/1/documentos/resgata-documento.md).

# Resgata documento

{% hint style="danger" %}
Esta versão da API foi deprecada e somente receberá correções de bugs e falhas de segurança.
{% endhint %}

<mark style="color:blue;">`GET`</mark> `https://api.autentique.com.br/documentos/:uuid.json`

#### Path Parameters

| Name | Type   | Description       |
| ---- | ------ | ----------------- |
| uuid | string | UUID do documento |

#### Headers

| Name          | Type   | Description  |
| ------------- | ------ | ------------ |
| X-Autntiq-Api | string | Token de API |

{% tabs %}
{% tab title="200 " %}

```javascript
{
  "destinatario": null,
  "partes": [
    {
      "nome": "Cassiano Calegari",
      "email": "cassiano@autentique.com.br",
      "cpf": "36653414930",
      "nascimento": "1931-01-01",
      "empresa": "Autentique",
      "funcao": "assinar",
      "visualizado": {
        "created": "2018-01-01 17:09:02",
        "motivo": null,
        "ipv4": "170.233.43.253",
        "geotrack": {
          "country": "Brasil",
          "countryISO": "BR",
          "state": null,
          "stateISO": null,
          "city": null,
          "zipcode": null,
          "latitude": -22.8305,
          "longitude": -43.2192
        }
      },
      "assinado": {},
      "rejeitado": {},
      "mail": {
        "sent": false, // or datetime: Y-m-d H:i:s
        "opened": null, // or datetime: Y-m-d H:i:s
        "refused": null, // or datetime: Y-m-d H:i:s
        "delivered": null, // or datetime: Y-m-d H:i:s
        "reason": null // or string
      }
    },
    {
      "nome": null,
      "email": "cassiano2@autentique.com.br",
      "cpf": null,
      "nascimento": null,
      "empresa": null,
      "funcao": "assinar",
      "visualizado": {},
      "assinado": {},
      "rejeitado": {},
      "mail": {
        "sent": false, // or datetime: Y-m-d H:i:s
        "opened": null, // or datetime: Y-m-d H:i:s
        "refused": null, // or datetime: Y-m-d H:i:s
        "delivered": null, // or datetime: Y-m-d H:i:s
        "reason": null // or string
      }
    }
  ],
  "documento": {
    "uuid": "9ab23456325c40c2a5023051cf4bbf0e",
    "nome": "Contrato de Marketing",
    "rejeitavel": true,
    "created": "2018-01-01 17:09:00",
    "updated": "2018-01-01 17:09:00",
    "assinatura": "e5b62017be1b46768e47e43e7a6fb233",
    "publicado": "2018-01-01 17:09:01",
    "disponivel": true
  },
  "remetente": {
    "nome": "Cassiano Calegari",
    "empresa": "Autentique",
    "email": "cassiano@autentique.com.br",
    "cpf": "36653414930",
    "nascimento": "1931-01-01"
  },
  "arquivo": {
    "original":"https:\/\/storage.googleapis.com\/d6e\/ca2485d9e4bc5e2e8d6c8f18b95d3141\/e808f22467bf2173760ca9a6d3addbefab49f978c67ab5987.original.pdf",
    "assinado":"https:\/\/api.autentique.com.br\/documentos\/e808f22467bfa973760cf7a6d3addbefab49f978c67ab5987\/assinado.pdf"
  }
}
```

{% endtab %}

{% tab title="401 " %}

```javascript
{
  "errors": {
    "message": "Você deve estar logado para acessar esta página."
  }
}
```

{% endtab %}

{% tab title="404 " %}

```
```

{% endtab %}
{% endtabs %}
