WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Message → Broadcast

AI-generated

Summary

Broadcast a text message to multiple recipients in a session.

Inputs

  • sessionId (required) — The Session ID to use for this request
  • broadcastMsg (required) — The text message to broadcast to all recipients. E.g. "Promo 50% starts tomorrow!"
  • recipients (required) — Provide list of recipient JIDs separated by commas. E.g. "62811@s.w, 62822@s.w"

Output shape

a JSON object indicating success, typically containing a status or message IDs

The response is not paginated; it may include success flag and any created message IDs, but no additional array wrapping.

Examples

Example 1: Send a promotional broadcast to two contacts

sessionId=mySession123, recipients=62811@s.w, 62822@s.w, broadcastMsg=Promo 50% starts tomorrow!

Example 2: Broadcast a reminder to a list of group members

sessionId=session456, recipients=62812@s.w, 62834@s.w, broadcastMsg=Don't forget the meeting tomorrow.

Example 3: One‑off alert broadcast using default session

sessionId=default, recipients=62899@s.w, broadcastMsg=System alert: maintenance at 22:00 UTC.

Links

Discussion