发送消息
POST/messages
您可以通过提供以下参数向终端用户(联系人)发送消息:
- 收件人标识符(“to”参数),是指定频道上每个终端用户的唯一标识(例如:Viber 的 phoneNumber,AppleMB 的不透明 id)
- 您想要用于终止消息的通信渠道(“channel”参数,"APPLEMB" 或 "VIBER")
- 品牌ID(“from”参数),用于在每个渠道上代表您的品牌或服务的标识符(Viber 和 AppleMB 的可选参数)
Important: Refer to the Supported Features section above for detailed channel compatibility, content type support, and channel-specific constraints (text length, media size, button limits, etc.). Refer to the Responses and Errors section for comprehensive error code documentation and handling best practices.
Request
Responses
- 200
- 400
- 401
- 500
消息已创建
错误请求
未授权
内部服务器错误