# Autenticação

### Gerando sua Chave de API

1. Acesse a seção "API" em seu perfil

<div align="center"><figure><img src="/files/UhXUB26WJISZ8LALTQa0" alt="" width="563"><figcaption><p>Acessando seção "API"</p></figcaption></figure></div>

2. Clique em "Gerar Chave de API"

<figure><img src="/files/j4i7igbfWYBIL8dDh85z" alt="" width="563"><figcaption><p>Gerando Chave de API</p></figcaption></figure>

{% hint style="danger" %}
**ATENÇÃO:** Não compartilhe sua chave com terceiros! Este conteúdo é de uso confidencial e exclusivo seu.
{% endhint %}

{% hint style="warning" %}
**Lembre-se de guardar em local seguro a Chave de API na hora, pois caso não copie terá que gerar uma nova Chave de API.**
{% endhint %}

### Validade da Chave de API

Sua Chave de API será válida por 1 ano, após esse período você deverá gerar uma nova Chave de API para continuar utilizando nossa API de Parceiros.

### Utilizando sua Chave de API nas requisições

Para utilizar sua Chave de API nas suas requisições, basta inserir o header `Authorization`.

```json
Authorization: "Bearer <SUA CHAVE DE API AQUI>"
```


---

# 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.smsfunnel.com.br/api/parceiros/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.
