> For the complete documentation index, see [llms.txt](https://knowledgebase.offer18.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.offer18.com/pt/rede/api-da-rede/api-de-conversao.md).

# API de conversão

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

:link:[ <mark style="color:azul;">**Clique para Testar a API de Conversão**</mark> ](https://offer18.readme.io/reference/conversion-api)

### **Parâmetros Comuns**

<table data-header-hidden><thead><tr><th width="282.21480547854435">Query</th><th width="191.2954426994595"> </th><th> </th></tr></thead><tbody><tr><td><strong>Query</strong></td><td><strong>Tipo</strong></td><td><strong>Descrição</strong>  </td></tr><tr><td>mid</td><td>Inteiro</td><td>ID da Conta da Rede</td></tr><tr><td>api-key</td><td>String</td><td>Chave de API da Rede</td></tr><tr><td>secret-key</td><td>String</td><td>Chave Secreta da Rede</td></tr></tbody></table>

***

### Filtros

| **Corpo** | **Tipo** | **Descrição**                                                                            |
| --------- | -------- | ---------------------------------------------------------------------------------------- |
| tid       | String   | <p>Valores Separados por Vírgula<br>(Limite <strong>100</strong>)</p>                    |
| status    | Inteiro  | <p>Valores permitidos<br><strong>1: Aprovar</strong><br><strong>3: Rejeitar</strong></p> |
| event     | String   | Opcional                                                                                 |
| adv\_sub1 | String   | Opcional                                                                                 |
| adv\_sub2 | String   | Opcional                                                                                 |
| adv\_sub3 | String   | Opcional                                                                                 |
| adv\_sub4 | String   | Opcional                                                                                 |
| adv\_sub5 | String   | Opcional                                                                                 |

***

### **Exemplo de Requisição API**

![](/files/a6f9f44b6ca255dc7092046127d21203d6df3627)

***

### **Resposta da API**

```
{ 
    "status": "200",
    "affected": 2,
    "affected_tid": [ 
        "D-0001-v834hbsuf45gdfd", 
        "D-0001-p0345ns0v823h4" 
    ] 
}
```

{% hint style="warning" %}
Conversões que são mais antigas que **4 meses** não podem ter o status alterado.
{% endhint %}

***

{% hint style="info" %}
**Para interações seguras, sempre chame a API a partir do lado do servidor.**
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/api-de-conversao.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.
