# Redefinição de Senha de Afiliado e Anunciante

### Parâmetros Comuns

| **Query**  | **Tipo** | **Descrição**         |
| ---------- | -------- | --------------------- |
| mid        | Inteiro  | ID da Conta da Rede   |
| api-key    | String   | Chave de API da Rede  |
| secret-key | String   | Chave Secreta da Rede |

***

## **Redefinição de Senha do Afiliado**

```
POST https://api.offer18.com/api/m/affiliate_password_reset
```

:link: [<mark style="color:azul;">**Clique para Testar a API de Redefinição de Senha do Afiliado**</mark>](https://offer18.readme.io/reference/password-reset)

#### Filtros

| **Corpo**         | **Tipo** |
| ----------------- | -------- |
| email-do-afiliado | String   |

#### **Resposta da API**

```
{
    "status": "200",
    "response": "affiliate_pass_reset:completed",
    "password": "00000000",
    "affiliate_id": "000000"
}
```

***

## **Redefinição de Senha do Anunciante**

```
POST https://api.offer18.com/api/m/advertiser_password_reset
```

:link: [<mark style="color:azul;">**Clique para Testar a API de Redefinição de Senha do Anunciante**</mark>](https://offer18.readme.io/reference/advertiser-password-reset)

#### Filtros

| **Corpo**           | **Tipo** |
| ------------------- | -------- |
| email-do-anunciante | String   |

#### **Resposta da API**

```
{
    "status": "200",
    "response": "advertiser_pass_reset:completed",
    "password": "00000000",
    "advertiser_id": "000000"
}
```

{% hint style="info" %}
**Para interações seguras, sempre chame a API a partir do lado do servidor.**
{% 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://knowledgebase.offer18.com/pt/rede/api-da-rede/redefinicao-de-senha-de-afiliado-e-anunciante.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.
