# Cria pasta

{% 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:green;">`POST`</mark> `https://api.autentique.com.br/pastas.json`

#### Headers

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

#### Request Body

| Name | Type   | Description   |
| ---- | ------ | ------------- |
| nome | string | Nome da pasta |

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

```javascript
{
  "uuid": "9aa657b73596402b98ea774df8b84d1a",
  "nome": "Empresa XYZ",
  "slug": "empresa-xyz",
  "created": "2018-01-01 23:41:45"
}
```

{% endtab %}

{% tab title="401 " %}

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

{% endtab %}

{% tab title="422 " %}

```javascript
{
  "errors": {
    "nome": "Você precisa preencher este campo."
  }
}
```

{% endtab %}
{% endtabs %}
