# Confirmar Código de Verificação

### Confirmando Código de Verificação

Após receber seu código de verificação, é necessário enviá-lo para confirmar sua criação de conta.

Para isso, basta fazer o envio do código juntamente com seu número novamente.

## Check Phone Verification

<mark style="color:green;">`POST`</mark> `{Url}/auth/check-phone-verification`

#### Request Body

| Name                                               | Type   | Description             |
| -------------------------------------------------- | ------ | ----------------------- |
| verificationCode<mark style="color:red;">\*</mark> | string | Código de verificação   |
| phoneNumber<mark style="color:red;">\*</mark>      | string | DDD e número de celular |

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

```
{
    "_id": "13907ef3-c7cf-4338-9705-d4c52a152a2e",
    "companies": [],
    "hasFinishedOnboarding": false,
    "status": "active",
    "phoneNumber": "19996740836",
    "verifications": {
        "verificationCode": "XEYGC4",
        "types": {
            "phoneNumber": false
        }
    },
    "resale": "250",
    "access": [],
    "createdAt": "2022-01-26T13:53:01.624Z",
    "updatedAt": "2022-01-26T13:53:39.943Z",
    "__v": 0
}
```

{% endtab %}

{% tab title="400 Bad Request" %}

```
{
    "statusCode": 400,
    "error": "Bad Request",
    "message": "Unexpected token \" in JSON at position 1"
}
```

{% endtab %}

{% tab title="404 Not Found" %}

```
{
    "tag": "",
    "message": "Nenhum usuário encontrado atrelado a esse código"
}
```

{% endtab %}
{% endtabs %}

{% hint style="success" %}
Caso a requisição esteja correta, o código **`200 OK`** será retornado.\
\
Prossiga para a próxima sessão para realizar o cadastro de seus dados.
{% endhint %}

{% hint style="danger" %}
**Outros Erros:**\
Caso sejam retornados outros erros, favor entrar em contato com o time de integração.
{% 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://guide.posfacil.com.br/autenticacao/confirmar-codigo-de-verificacao.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.
