Description
This endpoint allows you to send a voice/audio status (story) on WhatsApp. You can define which contacts will be able to view the voice status.URL Parameters
Unique authenticated session ID
Request Body
Object containing audio data
Array of contact JIDs who will be able to view the status. If not specified, the status will be visible to all contacts.JID format:
["5511999999999@s.whatsapp.net"]
Response
Indicates if the status was sent successfully
Sent status message ID
Status Codes
200
- Status sent successfully400
- Invalid parameters401
- Unauthorized500
- Server error
Usage Example
Notes
- Status are temporary content (Stories) that disappear after 24 hours
- If the
participants
parameter is not specified, the status will be visible to all contacts - Audio must be encoded in base64
- Supported audio formats: OGG (Opus), MP3, AAC, WAV
- For better compatibility, it is recommended to use OGG format with Opus codec
- Voice status are automatically played when viewed
Authorizations
Your Wappfy API key (get it at dash.wappfy.com.br)
Path Parameters
Session name (instanceName)