WasenderApi - Low Cost WhatsApp API for Developers Send Group Message - API Documentation - WasenderApi - Low Cost WhatsApp API for Developers
WasenderApi API

API Documentation

WasenderApi WhatsApp API

Send Group Message

Groups

POST/api/send-message

Sends a message to a specific WhatsApp group using its Group ID.

Send Group Message

Send a message directly to a WhatsApp group using its unique Group ID (e.g., [email protected]). Use the /api/groups endpoint to find the IDs of the groups you are in.

The parameters are the same as sending a regular message, but the to field must contain the Group ID.

Parameters

NameTypeRequiredDescription
tostringYesGroup ID (e.g., '[email protected]').
textstringYesThe text content of the message. Required if no media/contact/location is sent.
imageUrlstringNoURL of the image to send.
videoUrlstringNoURL of the video to send.
documentUrlstringNoURL of the document to send.
audioUrlstringNoURL of the audio file to send (sent as voice note).
stickerUrlstringNoURL of the sticker (.webp) to send.
contactobjectNoContact card object.
locationobjectNoLocation object.

Code Examples

curl -X POST "https://www.wasenderapi.com/api/send-message"
  -H "Authorization: Bearer YOUR_API_KEY"
  -H "Content-Type: application/json"
  -d '{
      "to": "[email protected]",
      "text": "Hello everyone in the group!"
  }'

Response Examples

{
  "success": true,
  "data": {
    "msgId": 100000,
    "jid": "+123456789",
    "status": "in_progress"
  }
}