# Restablecimiento de contraseña de afiliado y anunciante

### Parámetros comunes

| **Consulta** | **Tipo** | **Descripción**         |
| ------------ | -------- | ----------------------- |
| mid          | Entero   | ID de cuenta de la red  |
| api-key      | Cadena   | Clave API de la red     |
| secret-key   | Cadena   | Clave secreta de la red |

***

## **Restablecimiento de contraseña del afiliado**

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

:link: [<mark style="color:azul;">**Haga clic para probar la API de restablecimiento de contraseña del afiliado**</mark>](https://offer18.readme.io/reference/password-reset)

#### Filtros

| **Cuerpo**                      | **Tipo** |
| ------------------------------- | -------- |
| correo-electrónico-del-afiliado | Cadena   |

#### **Respuesta de la API**

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

***

## **Restablecimiento de contraseña del anunciante**

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

:link: [<mark style="color:azul;">**Haga clic para probar la API de restablecimiento de contraseña del anunciante**</mark>](https://offer18.readme.io/reference/advertiser-password-reset)

#### Filtros

| **Cuerpo**                        | **Tipo** |
| --------------------------------- | -------- |
| correo-electrónico-del-anunciante | Cadena   |

#### **Respuesta de la API**

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

{% hint style="info" %}
**Para interacciones seguras, siempre llame a la API desde el lado del 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/es/red/api-de-la-red/restablecimiento-de-contrasena-de-afiliado-y-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.
