傳送訊息
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
訊息已建立
錯誤請求
未授權
內部伺服器錯誤