- OpenAPI基本介绍
- 错误码参考表
- 访问频率和并发限制
- 消息订阅
- 获取访问凭据
- 员工管理
- 自定义订单管理
- 客户管理
- 客户积分管理
- 客户标签管理
- 客户画像管理
- 标签库管理
- 群聊管理
- 工单管理
- 销售过程管理
- 聊天记录管理
- 拉新排行榜
- 群裂变
- 群打卡
- 企微任务宝
- 拉新排行榜
- 自定义表单
- 客户转化
- 员工个人群发记录管理
- 渠道码管理
- 素材库管理
- 互动雷达管理
- 自定义侧边栏身份校验
- 有赞订单管理
- 小鹅通订单管理
- 项目管理
- 门店信息
- 人群包
- 客户群发
- 企微朋友圈
- 个人SOP
- 部门管理
- 群标签管理
- 话术库
- 企微数据专区
客户群群发创建
POST
/open-api/customer_group_msg/add
请求参数
Query 参数
access_token
string
调用接口凭证
默认值:
{{access_token}}
Body 参数application/json
name
string
必需
staff_ext_id_list
array[string]
必需
group_ext_id_list
array[string]
必需
create_staff_ext_id
string
必需
text
string
必需
attachments
array [object {5}]
必需
msgtype
string
必需
image
object
必需
link
object
必需
miniprogram
object
必需
video
object
必需
示例
{
"name": "龙宇航",
"staff_ext_id_list": [
"69",
"5",
"7"
],
"group_ext_id_list": [
"42"
],
"create_staff_ext_id": "45",
"text": "海大些热。条油示化算世。但据就精命人。区斗规。调百置关团合头级确品。",
"attachments": [
{
"msgtype": "irure Duis et in",
"image": {
"title": "劈哇绿油油撕一同黑不溜秋咀",
"url": "https://confused-feather.org/"
},
"link": {
"title": "也不启动整缺乏大方轻松嗯乘以全部",
"url": "https://remorseful-entry.name/",
"desc": "fugiat laboris Excepteur dolore proident"
},
"miniprogram": {
"appid": "29",
"title": "踢脚线鉴于啊电脑显示器",
"page": "dolor ea in eu culpa",
"cover": "ut sit"
},
"video": {
"title": "鉴于关于搔更加挖因为搜",
"url": "https://wrathful-exhaust.org/"
}
},
{
"msgtype": "pariatur",
"image": {
"title": "全划拨移动摘抓清楚",
"url": "https://shallow-inspection.net/"
},
"link": {
"title": "仅仅嘘只要虽然尽管顾问哎呀油门",
"url": "https://weighty-whale.com/",
"desc": "commodo ut"
},
"miniprogram": {
"appid": "89",
"title": "比较一起靠近秋海棠擅自托架都快什么",
"page": "pariatur magna",
"cover": "consequat"
},
"video": {
"title": "帽子聪明地址鳄鱼软倘若因此呼糟糕",
"url": "https://enchanted-coin.org/"
}
},
{
"msgtype": "aliquip occaecat veniam",
"image": {
"title": "飞行员嘘甚至附属啊鸟浴呸衣柜",
"url": "https://minor-pear.info/"
},
"link": {
"title": "机场胡说是否百般",
"url": "https://spherical-cemetery.name/",
"desc": "ut magna ipsum consectetur cupidatat"
},
"miniprogram": {
"appid": "26",
"title": "却擒飞行员捉拔啊除了",
"page": "in eiusmod minim",
"cover": "Ut culpa nisi ex"
},
"video": {
"title": "畅销书但是带宽啊呀切别没有面对",
"url": "https://fixed-humidity.info/"
}
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open.weibanzhushou.com/open-api/customer_group_msg/add?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "龙宇航",
"staff_ext_id_list": [
"69",
"5",
"7"
],
"group_ext_id_list": [
"42"
],
"create_staff_ext_id": "45",
"text": "海大些热。条油示化算世。但据就精命人。区斗规。调百置关团合头级确品。",
"attachments": [
{
"msgtype": "irure Duis et in",
"image": {
"title": "劈哇绿油油撕一同黑不溜秋咀",
"url": "https://confused-feather.org/"
},
"link": {
"title": "也不启动整缺乏大方轻松嗯乘以全部",
"url": "https://remorseful-entry.name/",
"desc": "fugiat laboris Excepteur dolore proident"
},
"miniprogram": {
"appid": "29",
"title": "踢脚线鉴于啊电脑显示器",
"page": "dolor ea in eu culpa",
"cover": "ut sit"
},
"video": {
"title": "鉴于关于搔更加挖因为搜",
"url": "https://wrathful-exhaust.org/"
}
},
{
"msgtype": "pariatur",
"image": {
"title": "全划拨移动摘抓清楚",
"url": "https://shallow-inspection.net/"
},
"link": {
"title": "仅仅嘘只要虽然尽管顾问哎呀油门",
"url": "https://weighty-whale.com/",
"desc": "commodo ut"
},
"miniprogram": {
"appid": "89",
"title": "比较一起靠近秋海棠擅自托架都快什么",
"page": "pariatur magna",
"cover": "consequat"
},
"video": {
"title": "帽子聪明地址鳄鱼软倘若因此呼糟糕",
"url": "https://enchanted-coin.org/"
}
},
{
"msgtype": "aliquip occaecat veniam",
"image": {
"title": "飞行员嘘甚至附属啊鸟浴呸衣柜",
"url": "https://minor-pear.info/"
},
"link": {
"title": "机场胡说是否百般",
"url": "https://spherical-cemetery.name/",
"desc": "ut magna ipsum consectetur cupidatat"
},
"miniprogram": {
"appid": "26",
"title": "却擒飞行员捉拔啊除了",
"page": "in eiusmod minim",
"cover": "Ut culpa nisi ex"
},
"video": {
"title": "畅销书但是带宽啊呀切别没有面对",
"url": "https://fixed-humidity.info/"
}
}
]
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
🟢200正常返回
修改于 2024-11-04 05:52:37