# Autenticação

Para utilizar com sucesso a nossa API, é preciso apresentar um username válido (e-mail), associado com um token de autenticação. É necessário adicionar os seguintes headers à requisição:

| Campo               | Detalhes                                                                                                                                                        | Data Type |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| userName            | E-mail válido para autenticação no Sinch Messaging.                                                                                                             | String    |
| authenticationToken | Token de autenticação gerado por nossa plataforma. Encontre [aqui](https://messaging.wavy.global/dashboard/profile/settings#profile) ou consulte nosso suporte. | String    |

### Detalhes de conexão <a href="#detalhes-de-conex-o" id="detalhes-de-conex-o"></a>

|                  |                        |
| ---------------- | ---------------------- |
| **Hostname**     | apigw\.wavy.global     |
| **Porta**        | 443 (https)            |
| **Protocolo**    | HTTPS (TLS encryption) |
| **Autenticação** | username + token       |
| **Encoding**     | UTF-8                  |


---

# 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://docs-pt.sinch.com/apidecampanhas/instrucoes-e-boas-praticas/autenticacao.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.
