- 开发指南
- 基础接口
- 客户设置
- 消息推送
- 客户&线索&待分配
- 公海
- 企微组织架构
- 企微标签库
- 企业
- 合同
- 电商平台
- 营销
- 数据统计
- 内容访客
- 电销手机
- SOP任务
- 群发消息
- 管控
- 工单
- 素材
- 应用通知
- 附录
- 群数据
- 店主活码
- 通话列表
创建群发助手SOP
POST
/api/v3/groupSop/addGroupAssistant
请求参数
Header 参数
appId
string
应用 appId
默认值:
{{appId}}
timestamp
string
请求时间戳
默认值:
{{timestamp}}
sign
string
请求消息签名值
默认值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
Body 参数application/json
title
string
SOP名称
chatIds
array[string]
群id集合
owners
array[string]
群主id集合
instruction
string
说明
sopContents
array [object {2}]
任务内容
sendTime
string
发送时间
sopDatas
array [object {14}]
任务内容
示例
{
"title": "测试API042410500001",
"sopContents": [
{
"sendTime": "2022-04-24 11:37",
"sopDatas": [
{
"type": 1,
"content": "阿斯顿撒旦撒旦"
}
]
}
],
"instruction": "收到了吗?测试一下吧",
"owners": [
"463352988837952"
],
"chatIds": [
"d8f3c9BC-5A43-D649-0bBD-f8D8B618AE7C"
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v3/groupSop/addGroupAssistant' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "测试API042410500001",
"sopContents": [
{
"sendTime": "2022-04-24 11:37",
"sopDatas": [
{
"type": 1,
"content": "阿斯顿撒旦撒旦"
}
]
}
],
"instruction": "收到了吗?测试一下吧",
"owners": [
"463352988837952"
],
"chatIds": [
"d8f3c9BC-5A43-D649-0bBD-f8D8B618AE7C"
]
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2022-06-11 11:45:11