0

请我需要您的帮助,我正在尝试测试 Clickatel 为 WhatsApp for Business 集成提供的开箱即用 API 这里是提供的示例 curl 有效负载

-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: ***********" \
-d '{"messages": [{ "channel": "whatsapp", "to": "23*******", "content": "Test WhatsApp Message Text" }, { "channel": "sms", "to": "********", "content": "Test SMS Message Text" }]}' \
-s https://platform.clickatell.com/v1/message

以下是来自 API 的响应

{"messages":[{"error":{"code":23,"description":"Invalid or missing parameter: encryptionKey ."},"accepted":false,"to":"23********"},{"error":{"code":23,"description":"Invalid or missing parameter: encryptionKey ."},"accepted":false,"to":"23******"}],"error":null}
4

0 回答 0