我尝试使用Clickatell One API 端点发送WhatsApp 模板消息。
这是我的有效载荷。我用POST
.
{
"messages":[
{
"to":"***********",
"channel": "whatsapp",
"hsm" : {
"template":"welcome_notification_demo",
"parameters" : {
"1":"John",
"2":" Clickatell"
}
}
}
]
}
我收到他们的以下回复:
{
"messages": [
{
"error": {
"code": 23,
"description": "Invalid or missing parameter: HSM ."
},
"accepted": false,
"to": "*********"
}
],
"error": null
}
谁能告诉我我的有效载荷中缺少什么?
(文档一点用都没有。)
注意:我用 ********** 隐藏了我的电话号码。
谢谢!