Message Types
Audio
Send an audio file
POST
Path parameters
Body parameters
Message recipient. Accepts a phone number in E.164 format without the leading
+ (e.g. 593999999999) or a BSUID (e.g. US.13491208655302741918) for users who have enabled phone number privacy in WhatsApp. See Identifying the recipient.Public (HTTPS) URL of the audio file. Supported formats and maximum size depend on the channel (see the formats and limits by channel table).
Response
Formats and size limits by channel
URL Requirements
Common Errors
INVALID_MEDIA_URL- The audio URL is invalid or inaccessibleMEDIA_TOO_LARGE- The audio file exceeds the channel’s size limitUNSUPPORTED_MEDIA_TYPE- The audio format is not supported
Use Cases
- Sending voice messages
- Sharing music or podcasts
- Sending audio notifications
- Sharing recordings