Send WhatsApp Audio Message
Direct Messages
Send WhatsApp Audio Message
Send an audio message via WhatsApp
POST
Send WhatsApp Audio Message
Description
This endpoint allows you to send an audio message via WhatsApp. You can send audio files by providing a media ID (for uploaded media) or a link to hosted media.Headers
Your API key for authentication.
Your workspace ID for authentication.
Body
The recipient’s phone number in international format. Must include the country code without the leading plus sign (+) or any spaces, dashes, or other special characters. Format: country code followed by the phone number. Example:
919876543210 (India: country code 91 + number 9876543210).The unique Phone ID associated with your WhatsApp Business account. You can find this on the Zixflow WhatsApp Settings page or by calling the Get WhatsApp Accounts endpoint.
Audio message object.
(Optional) To receive post-back notifications about the sent message as it is delivered or failed. When a message status changes (delivered, failed, etc.), a notification will be sent to this URL. See Postback Notifications for the payload format and field descriptions.
(Optional) The data that will be sent back on the post_back_url with the notification. This can be used as an identifier for the sent message if the client wants to track or correlate messages with their own system. See Postback Notifications for how it appears in the notification.
Response
Indicates whether the request was successful. true if the request was accepted and queued, false otherwise.
Success message when the request succeeded, or error message when it failed.
Present only when success is true. Unique identifier for this request; use it for tracking and for correlating with postback notifications.