> For the complete documentation index, see [llms.txt](https://brpex.gitbook.io/brpex-crm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brpex.gitbook.io/brpex-crm/api/transferencia-de-tiket.md).

# 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
