Send to a Group
POST /api/group/send-message
Identical field model to Send a Message — but addressed by group_id instead of number. Supported types: text, image, video, audio, document, location, poll.
- Auth: Bearer Device Key
- Cost: 1 credit text / 2 credits media (same as direct send)
- Rate limit: 20/min burst per device
Request
curl -X POST https://app.rapiwa.com/api/group/send-message \
-H "Authorization: Bearer YOUR_DEVICE_KEY" \
-H "Content-Type: application/json" \
-d '{"group_id":"120363000000000000@g.us","message_type":"text","message":"Hi team 👋"}'
Response
{ "success": true, "message_type": "text", "message_id": "3EB0A1B2C3…", "to": "120363000000000000" }
See Send a Message for the full field catalog and per-type examples.