admin:changeme, a slot called my-device, and GOWA on localhost:3000.
Recipients
phone accepts:
- A number with country code, no
+, spaces or dashes:628123456789(a leading+is stripped). - A user JID:
628123456789@s.whatsapp.net. - A group JID:
120363025246125486@g.us. status@broadcastto post a status update.
WHATSAPP_ACCOUNT_VALIDATION=true (default), GOWA checks that a number is on WhatsApp before sending. Check one yourself with GET /user/check?phone=628123456789.
Text
Successful sends return the WhatsApp message ID:
Media
Media endpoints takemultipart/form-data. Upload a file, or pass a URL that GOWA downloads (*_url).
All media endpoints also accept
reply_message_id, is_forwarded and duration. See Media handling for size limits and formats.
Contact, location, link, poll
Presence and typing
After sending
Send later
Addscheduled_at and timezone to any send request to schedule it instead. See Scheduled sends.
Sending to many recipients
GOWA has no broadcast endpoint. Loop over recipients in your code, send one request at a time with a delay, and stop onWA_REACHOUT_TIMELOCK errors. Read Sending limits before sending in volume.