Sending Messages
The WazzAPI API supports direct sends, scheduled sends, retries, media messages, and interactive message types.Text Messages
Use the/api/v1/messages/send endpoint for standard text messages.
Media Messages
You can send images, videos, documents, and voice messages with either a publicmedia_url
or inline media_base64. When both are provided, media_base64 is used.
Inline media fields
| Field | Description |
|---|---|
media_base64 | Raw base64 or a complete data:...;base64,... URI. Takes precedence over media_url. |
filename | Optional filename override. Required for document sends that use media_base64. |
mimetype | MIME hint such as image/png or application/pdf. Required when media_base64 is raw base64 and no filename is supplied. |
Location Messages
Use location messages to share a pin with latitude and longitude.WhatsApp Group Messages
Send messages directly to WhatsApp groups using the groups API. The API automatically looks up the group name from the backend and stores it with the message record.Text
Image
Image Base64
Supported types for groups: text, image, video, voice, document. Templates and interactive messages are not supported for groups.
Other supported message types
The API also supports:- voice messages
- video messages
- contact-card messages
- interactive button messages
- interactive list messages
Scheduling, retries, and status
In addition, the API supports:scheduled_foron send requests for future delivery- retrying failed messages
- cancelling scheduled messages
- lookup by provider ID and message statistics