# 转化 API

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

:link:[ <mark style="color:蓝色;">**点击测试转换 API**</mark> ](https://offer18.readme.io/reference/conversion-api)

### **通用参数**

<table data-header-hidden><thead><tr><th width="282.21480547854435">查询</th><th width="191.2954426994595"> </th><th> </th></tr></thead><tbody><tr><td><strong>查询</strong></td><td><strong>类型</strong></td><td><strong>描述</strong>  </td></tr><tr><td>mid</td><td>整数</td><td>网络账户 ID</td></tr><tr><td>api-key</td><td>字符串</td><td>网络 API 密钥</td></tr><tr><td>secret-key</td><td>字符串</td><td>网络密钥</td></tr></tbody></table>

***

### 筛选

| **主体**    | **类型** | **描述**                                                        |
| --------- | ------ | ------------------------------------------------------------- |
| tid       | 字符串    | <p>逗号分隔值<br>(限制 <strong>100</strong>)</p>                     |
| status    | 整数     | <p>允许的值<br><strong>1：批准</strong><br><strong>3：拒绝</strong></p> |
| event     | 字符串    | 可选                                                            |
| adv\_sub1 | 字符串    | 可选                                                            |
| adv\_sub2 | 字符串    | 可选                                                            |
| adv\_sub3 | 字符串    | 可选                                                            |
| adv\_sub4 | 字符串    | 可选                                                            |
| adv\_sub5 | 字符串    | 可选                                                            |

***

### **示例 API 请求**

![](/files/9def8b468c3dc3db05790b0d48cdb35d27711da1)

***

### **API 响应**

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

{% hint style="warning" %}
早于以下时间的转换 **4 个月** 不允许更改状态。
{% endhint %}

***

{% hint style="info" %}
**为保证交互安全，请始终从服务器端调用 API。**
{% 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/zh/wang-luo/wang-luo-api/zhuan-hua-api.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.
