# Transferência de Tiket

## Dispatch to chat

<mark style="color:green;">`POST`</mark> `https://{SUBDOMAIN}.brpex.com/api/v1 /dispatch-to-chat`

#### Headers

| Name                                      | Type   | Description                                     |
| ----------------------------------------- | ------ | ----------------------------------------------- |
| token\*<mark style="color:red;">\*</mark> | String | As tokens são geradas na configuração do canal. |

#### Request Body

| Name                                      | Type   | Description                                                                                                                                        |
| ----------------------------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| phone\*<mark style="color:red;">\*</mark> | String | Número de telefone (no formato internacional - DDI + DDD + Número) que possui ticket em aberto que deve ser transferido para o atendimento humano. |

{% tabs %}
{% tab title="200: OK Sucesso!" %}

```javascript
{
  "message": "success" 
}
```

{% endtab %}

{% tab title="401: Unauthorized " %}

```javascript
{
   "message": "unauthorized"
}
```

{% endtab %}
{% endtabs %}

\*Campos obrigatórios


---

# 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://brpex.gitbook.io/brpex-crm/api/transferencia-de-tiket.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.
