> 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/tian-jia-xiu-gai-kuai-jie-duan-yu-zi-dong-hui-fu.md).

# 添加/修改快捷短语、自动回复

#### 请求说明

```
POST https://ms.shougongker.com/index.php?c=Pc&a=setShopStoreMessage  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        |
| 内容   | content | 是  | string | 你好                       | 快捷短语、自动回复的具体内容           |
| 类型   | type    | 是  | int    | 1、2                      | 1 快捷短语 2 自动回复            |
| 内容ID | id      | 否  | string | 581c20b2fc867d333e8b4567 | 消息id (如果传id过来表示是修改，反之添加) |

#### 返回结果

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

#### 返回示例

```
{
    "status":200,
    "info":"添加成功"
    "data":{
    "id":"5daff7468ffaed2768709218"
    }
}
```
