Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以在Clickatell SMS API中发送个性化的短信吗?
我找不到任何关于如何做到这一点的文档。
是的 - 您可以在 Clickatell SMS API 中个性化 SMS 消息。
如果您有一个较旧的帐户(开发者中心,在 2016 年 11 月之前注册),那么您首先需要购买 SMS 积分。购买后,您可以个性化您的消息。
如果您拥有较新的平台帐户,则需要向您的 Clickatell 帐户存款,这将允许您个性化您的消息。
您可以通过编辑请求中的内容字符串来发送个性化消息。
使用 REST API 时,在您的请求正文中:
{ "content": "Personalized message", "to": [""] }
发出 HTTP 请求时:
https://platform.clickatell.com/messages/http/send?apiKey=xxxxxxxxxxxxxxxx==&to=xxxxxxxxxxx&content=Personalized+message
这些是使用REST和HTTP发送消息的文档的链接