Skip to main content

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 public media_url or inline media_base64. When both are provided, media_base64 is used.

Inline media fields

FieldDescription
media_base64Raw base64 or a complete data:...;base64,... URI. Takes precedence over media_url.
filenameOptional filename override. Required for document sends that use media_base64.
mimetypeMIME hint such as image/png or application/pdf. Required when media_base64 is raw base64 and no filename is supplied.
Inline media is stored temporarily before delivery, so retries and scheduled messages can still work while the media object is retained. Request size limits are enforced by the API gateway/proxy.

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_for on send requests for future delivery
  • retrying failed messages
  • cancelling scheduled messages
  • lookup by provider ID and message statistics