新增群组
open_topic_addCreate a PushPlus group by providing topic code, name, contact information, and introduction; optionally configure receipt message, group type, price, and icon.
Instructions
POST /open/topic/add - 新增群组。 请求: topicCode(编码,必填), topicName(名称,必填), contact(联系方式,必填), introduction(简介,必填), receiptMessage(加入后回复,可选), appId(绑定公众号Id,可选,默认pushplus公众号), icon(可选), topicType(可选,默认0;群组类型;0普通群组;1积分群组;2公开群组), price(可选,默认0), topicDescribe(一句话介绍,可选)。 统一响应: code(数字,200成功), msg(字符串), data(业务数据)。 data: 新建群组编号(数字)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | 群组图标 | |
| appId | No | 微信公众号Id;填写绑定后的公众号Id,默认使用pushplus公众号 | |
| price | No | 积分群组订阅积分;按月;默认0 | |
| contact | Yes | 联系方式,必填 | |
| topicCode | Yes | 群组编码,必填 | |
| topicName | Yes | 群组名称,必填 | |
| topicType | No | 0普通群组;1积分群组;2公开群组;默认0 | |
| introduction | Yes | 群组简介,必填 | |
| topicDescribe | No | 一句话介绍 | |
| receiptMessage | No | 加入后回复内容 |