发送App消息
POST
/message/SendAppMessage
消息
请求参数
Query 参数
key
string
账号唯一标识
Body 参数application/json
AppList
array[object (AppMessageItem) {3}]
可选
ContentType
integer <uint32>
可选
ContentXML
string
可选
示例值:
ToUserName
string
可选
示例值:
示例
{
"AppList": [
{
"ContentType": 0,
"ContentXML": "",
"ToUserName": ""
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/message/SendAppMessage' \
--header 'Content-Type: application/json' \
--data-raw '{
"AppList": [
{
"ContentType": 0,
"ContentXML": "",
"ToUserName": ""
}
]
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}