手机端群发个人-单目标多内容
开发中
线上环境
http://wascrm.socialepoch.com
线上环境
http://wascrm.socialepoch.com
POST
/wscrm-bus-api/openapi/gs/simpleCreateSomc
请求参数
Header 参数
Content-Type
string
必需
默认值:
application/json
Body 参数application/json
object {0}
示例
{
"tenantId": "{{tenantId}}",
"userName": "{{userName}}",
"createTime": "{{createTime}}",
"token": "{{token}}",
"objType": 1,
"executeType": 2,
"senderWhatsApp": "{{senderWhatsApp}}",
"friendWhatsApp": "{{friendWhatsApp}}",
"contentList": [
{
"text": "【傲途SocialEpoch】您的验证码是666666,5分钟内有效。若非本人操作,请忽略此消息,感谢您的关注,请对本次发送进行回复,满意请回复【1】,不满意请回复【2】,其他请回复【3】,谢谢您的参与!",
"type": 0,
"sort": 1
},
{
"url": "https://image.whatsappscrm.com/client/135/autoReply/20220804-whatsapp_03.png",
"type": 1,
"sort": 3
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://wascrm.socialepoch.com/wscrm-bus-api/openapi/gs/simpleCreateSomc' \
--header 'Content-Type: application/json' \
--data-raw '{
"tenantId": "503632",
"userName": "ALT000",
"createTime": "2022-09-16 11:57:10",
"token": "05a376fa833e90fe02fd0a9c4fa1ba2b",
"objType": 1,
"executeType": 2,
"senderWhatsApp": "",
"friendWhatsApp": "",
"contentList": [
{
"text": "【傲途SocialEpoch】您的验证码是666666,5分钟内有效。若非本人操作,请忽略此消息,感谢您的关注,请对本次发送进行回复,满意请回复【1】,不满意请回复【2】,其他请回复【3】,谢谢您的参与!",
"type": 0,
"sort": 1
},
{
"url": "https://image.whatsappscrm.com/client/135/autoReply/20220804-whatsapp_03.png",
"type": 1,
"sort": 3
}
]
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}