开放平台
pushAppMsg (HTTPS)
# pushAppMsg
向 WMPF 推送消息
# 请求地址
POST https://api.weixin.qq.com/wxa/business/runtime/pushappmsg?access_token=ACCESS_TOKEN
# URL 参数
# POST Body 参数
请求的 JSON 数据包
# 返回值
返回的 JSON 数据
errcode 的合法值
最终应用上收到的消息内容的 JSON 数据包
# 请求数据示例
{
"msg": "your msg",
"push_token": "your push token"
}
# 返回数据示例
{
"errcode": 0,
"errmsg": "ok"
}
# 注意:
- 调用该接口时还需要获取
access_token
,获取方式详见此处。