> For the complete documentation index, see [llms.txt](https://mamba-dongdong.gitbook.io/pc-im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mamba-dongdong.gitbook.io/pc-im/kuai-jie-duan-yu-zi-dong-hui-fu/she-zhi-zi-dong-hui-fu.md).

# 设置自动回复

#### 请求说明

```
POST https://ms.shougongker.com/index.php?c=Pc&a=setAutomaticReply  HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
```

请求中Headers的设置请参考[接口概述](https://mamba-dongdong.gitbook.io/pc-im/jie-kou-gai-shu)

#### 请求参数

| 字段名  | 变量名         | 必填 | 类型     | 示例值                      | 描述                                 |
| ---- | ----------- | -- | ------ | ------------------------ | ---------------------------------- |
| 用户ID | uid         | 是  | int    | 165191                   | 当前登陆PC IM用户的手工客ID                  |
| 状态类型 | reply\_type | 是  | int    | 1、2、3                    | 1 当第一次收到买家消息时 2 当状态为‘忙碌’时 3 当账号离开时 |
| 选中状态 | is\_checked | 是  | int    | 0、1                      | 0 未选中 1 选中                         |
| 内容ID | id          | 是  | string | 581c20b2fc867d333e8b4567 | 消息id                               |

#### 返回结果

| 字段名  | 变量名    | 必填 | 类型     | 示例值 | 描述                                         |
| ---- | ------ | -- | ------ | --- | ------------------------------------------ |
| 状态码  | status | 是  | int    | 200 | 状态码                                        |
| 返回信息 | info   | 否  | string | ok  | 接口具体状态信息                                   |
| 数据   | data   | 是  | object |     | 接口返回的具体数据，如果数据为空，则data为空对象，具体数据在data对面里面体现 |

#### 返回示例

```
{
    "status":200,
    "info":"设置成功"
}
```
