华为云WELINK-普通卡片消息:请求示例

时间:2023-12-18 15:59:48

请求示例

  • 请求参数示例
{
    "toUserList": ["john@welink", "zhangsan@welink"],
    "msgTitle": "{\"EN\": \"hello world\", \"CN\": \"你好\"}",
    "msgContent": "{\"CN\": \"欢迎使用\", \"EN\":\"Welcome\"}",
    "urlType": "html",
    "urlPath": "h5://demo.com",
    "msgOwner": "John"
}
  • 请求URL示例
 
 curl -X POST \
  'https://open.welink.huaweicloud.com/api/messages/v2/card/common' \
  -H 'Content-Type: application/json' \
  -H 'x-wlk-Authorization: access_token' \
  -d '{"请求参数 json格式"}' 
support.huaweicloud.com/devg-welink/start-141.html