- Category
- Utilities
- Publisher
- aldinokemal
- Repository
- Open repository
- Release
- Open release
- Current version
- v9.11.0
- Release date
- 2026-11-25
- Package size
- Windows 13.5 MB
go-whatsapp-web-multidevice
Go WhatsApp — Built for Efficient Memory Use
README
Go WhatsApp — Built for Efficient Memory Use
Support GOWA
Does GOWA save you development time or power your business? Help sustain the project through GitHub Sponsors.
Sponsorship helps make time for:
- Investigating bugs and keeping up with WhatsApp and whatsmeow changes.
- Improving regression tests, documentation, and integration examples.
- Reviewing contributions and preparing releases.
Monthly sponsorship helps make ongoing maintenance more sustainable. Individuals and teams are welcome.
Not ready to sponsor? Reproducible bug reports, documentation improvements, and sharing GOWA also help.
ARM, AMD64, and MCP Support
Download:
Documentation
Read the detailed GOWA documentation for setup,
authentication, device management, webhooks, examples, and the API reference.
The documentation tracks main. Check the
release notes and GET /app/info when using a pinned binary or container tag.
- Experimental interactive messages covers native-flow buttons, location requests, and image carousels.
POST /send/interactive(and MCPwhatsapp_sendtype: interactive) is immediate-only; recipient compatibility varies. - Webhook payloads describes event schemas and signing.
- Chatwoot, MCP OAuth, Neon, and media storage provide integration and operations guides.
- OpenAPI defines the machine-readable REST contract, including
/send/interactive.
n8n Community Node
- n8n package
- Go to Settings → Community Nodes, enter
@aldinokemal2104/n8n-nodes-gowa, and select Install.
Breaking Changes
| Version | Area | Change |
|---|---|---|
| v6 | CLI | Use ./whatsapp rest for REST. This version used ./whatsapp mcp for standalone MCP. |
| v7 | Binaries | GoReleaser builds are available from the GitHub releases. |
| v8 | Multi-device API | Manage WhatsApp accounts under /devices. For device-scoped REST calls, use the X-Device-Id header or the device_id query parameter. A single registered device is selected by default. |
| v8 | WebSocket | Connect to /ws?device_id=<id>. When Basic Auth is enabled, append &authorization=<base64(user:pass)> over TLS because the credential is visible in the URL. Dashboard events are broadcast to all authenticated subscribers. Use per-device webhooks for integrations that require account isolation. |
| v8 | Remote UI | CORS allows the Authorization and X-Device-Id headers, so a standalone UI such as gowa-ui can call the API from another origin. GET /app/info exposes the version and media limits. |
| v8 | Webhooks | Payloads include a top-level device_id identifying the device that received the event. |
| v9 | MCP | Run ./whatsapp rest for both REST and MCP. MCP is available at /mcp. See the MCP migration guide. |
| v9 | Web dashboard | The server downloads the latest gowa-ui release at startup, verifies its SHA-256 digest, caches gowa-ui.html under storages/ui/, and serves it at /. See Web dashboard for APP_UI_* settings, pinning, and offline deployment. |
Features
Send WhatsApp messages through the HTTP API. See docs/openapi.yaml for details.
MCP (Model Context Protocol) server support — Integrate with AI agents and tools using a standardized protocol.
Optional MCP OAuth 2.1 — Connect remote MCP clients that cannot supply a Basic Auth header. See MCP OAuth.
Mention users in message text and image, video, or file captions:
@phoneNumber- Example:
Hello @628974812XXXX, @628974812XXXX
Ghost mentions (mention all) — Mention group participants without showing
@phonein the message text.- Pass phone numbers in the
mentionsfield to mention users without a visible@in the message. - Use the special keyword
@everyoneto automatically mention all group participants.
- Pass phone numbers in the
Post WhatsApp status updates.
Mark incoming audio messages and voice notes as played.
Scheduled sends — Schedule supported send types once or on a daily, weekly, or monthly repeat.
- Add
scheduled_at(RFC3339) andtimezone(IANA) to a send request;recurrence,weekdays,day_of_month,end_at, andoccurrence_limitcontrol repeats. - Schedules survive restarts and wait for an offline device; list, pause, resume, or cancel them at
/send/schedules. - A failed occurrence is retried under the same WhatsApp message id, so a send whose acknowledgment was lost is not retried under a fresh identity. Poll retries also reuse the persisted secret. New-protocol occurrences interrupted by a restart resume the same way; legacy attempts with unknown outcomes are skipped or failed. This does not guarantee exactly-once delivery.
- Add
Newsletter channels — Follow or unfollow channels, fetch metadata by JID or invite, query the channel directory, and download channel media.
- Read messages with
/newsletter/messages, refresh counters with/newsletter/message-updates, and manage renewable live counter subscriptions with/newsletter/live-updates. - Live subscriptions are in memory. Subscribe again after a server restart; counter events arrive as
newsletter.messagewebhooks.
- Read messages with
Server metrics — Authenticated
GET /app/metricsreports process, memory, disk, device counts, and storage metadata without a device header. It returns JSON, not Prometheus text.Contact presence —
POST /user/presence/subscribesubscribes to a contact's online/offline updates, delivered through thepresencewebhook event. Sending your own presence remains under/send/presence.Avatar errors —
GET /user/avatardistinguishes404 AVATAR_NOT_SETfrom403 AVATAR_HIDDEN. Use the error code before invalidating a cached image.Send stickers — Automatically convert images to WebP sticker format.
- Supports JPG, JPEG, PNG, WebP, and GIF formats.
- Automatically resizes images to 512×512 pixels.
- Preserves transparency in PNG images.
- Animated WebP stickers are supported but must meet WhatsApp requirements:
- Exactly 512×512 pixels.
- Less than 500 KB.
- No more than 10 seconds long.
- If an animated sticker does not meet these requirements, resize it before uploading with a tool such as ezgif.com.
Compress images before sending.
Compress videos before sending.
Customize the OS name shown as the linked device name in WhatsApp:
--os=Chromeor--os=MyApplication
Basic Auth with multiple credentials:
--basic-auth=kemal:secret,toni:password,userName:secretPassword- Short form:
-b=kemal:secret,toni:password,userName:secretPassword
Subpath deployment support:
--base-path="/gowa"allows deployment under a path such as/gowa.
Customizable port and debug mode:
--port 8000--debug true
Automatic replies to incoming messages:
--autoreply="Don't reply to this message"
Automatically mark incoming messages as read:
--auto-mark-read=true
Automatically download media from incoming messages:
--auto-download-media=falsedisables automatic media downloads (default:true).- See Media storage and cleanup for storage locations and manual retention commands.
Ignore downloading status media:
--ignore-status-media=truedisables downloading status media (default:false).
Automatically reject incoming calls:
--auto-reject-call=trueorWHATSAPP_AUTO_REJECT_CALL=true(see Webhook Payload for call events).
Configurable presence on connect:
--presence-on-connect=unavailableorWHATSAPP_PRESENCE_ON_CONNECT=unavailableavailable— Mark the account as online (suppresses phone notifications).unavailable— Register the push name without going online (default; preserves phone notifications).none— Skip presence entirely (the push name is not registered, so contacts may see-as the name).
Full message history on pairing:
--full-history-sync=trueorWHATSAPP_FULL_HISTORY_SYNC=trueasks the phone for the full history when a device pairs (new pairings only).--full-history-days/WHATSAPP_FULL_HISTORY_DAYSandWHATSAPP_FULL_HISTORY_SIZE_MBbound the request.
Daily presence pulse:
--presence-pulse-enabled=trueorWHATSAPP_PRESENCE_PULSE_ENABLED=true(default:true).--presence-pulse-interval=24hcontrols how often each connected device is pulsed.--presence-pulse-duration=5mcontrols how long the account staysavailablebefore returning tounavailable.
Webhooks for received messages and other events:
--webhook="http://yourwebhook.site/handler"- Short form:
-w="http://yourwebhook.site/handler" - See Webhook Payload Documentation for details.
Per-device webhooks — Each device can have its own webhook URL and event filters.
- Set via API:
PATCH /devices/:device_id/webhookwith{"webhook_url": "https://device-webhook.site/handler"}. - Get via API:
GET /devices/:device_id/webhook. - When a device has a custom webhook, events for that device are sent to the device-specific URL.
- When no device webhook is set, events fall back to the global webhook (
--webhook). - Set
webhook_urlto an empty string withPATCHto clear it and use the global webhook. - Set
WHATSAPP_WEBHOOK_DEVICE_MERGE_GLOBAL=true(or--webhook-device-merge-global=true) to make a device webhook an addition instead of a replacement: the global--webhookURLs still receive the device's events (signed with the global secret, filtered byWHATSAPP_WEBHOOK_EVENTS) while the device URL keeps its own secret and event filter.
- Set via API:
Webhook signatures — Webhook requests include an HMAC-SHA-256 signature in the
X-Hub-Signature-256header. Set a private key with--webhook-secretorWHATSAPP_WEBHOOK_SECRET. The old published defaultsecretis not used. If no secret is configured, the process generates a random key and logs a warning; that key changes on restart, so receivers should not rely on it.Generate a stable key once, for example with
openssl rand -hex 32, and set it with:- `-