PCTUTU.comBack to PCTUTU.com
GitHub projects
go-whatsapp-web-multideviceUtilities
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
Utilities · aldinokemal

go-whatsapp-web-multidevice

Go WhatsApp — Built for Efficient Memory Use

Version v9.11.0
Available for Windows

README

GoWA Logo

Go WhatsApp — Built for Efficient Memory Use

GitHub Sponsors Greptile: The War on Bugs

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.

Sponsor GOWA on GitHub →

Not ready to sponsor? Reproducible bug reports, documentation improvements, and sharing GOWA also help.


release version Build Image Binary Release

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.

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 @phone in the message text.

    • Pass phone numbers in the mentions field to mention users without a visible @ in the message.
    • Use the special keyword @everyone to automatically mention all group participants.
  • 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) and timezone (IANA) to a send request; recurrence, weekdays, day_of_month, end_at, and occurrence_limit control 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.
  • 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.message webhooks.
  • Server metrics — Authenticated GET /app/metrics reports process, memory, disk, device counts, and storage metadata without a device header. It returns JSON, not Prometheus text.

  • Contact presence — POST /user/presence/subscribe subscribes to a contact's online/offline updates, delivered through the presence webhook event. Sending your own presence remains under /send/presence.

  • Avatar errors — GET /user/avatar distinguishes 404 AVATAR_NOT_SET from 403 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=Chrome or --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=false disables automatic media downloads (default: true).
    • See Media storage and cleanup for storage locations and manual retention commands.
  • Ignore downloading status media:

    • --ignore-status-media=true disables downloading status media (default: false).
  • Automatically reject incoming calls:

    • --auto-reject-call=true or WHATSAPP_AUTO_REJECT_CALL=true (see Webhook Payload for call events).
  • Configurable presence on connect:

    • --presence-on-connect=unavailable or WHATSAPP_PRESENCE_ON_CONNECT=unavailable
    • available — 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=true or WHATSAPP_FULL_HISTORY_SYNC=true asks the phone for the full history when a device pairs (new pairings only). --full-history-days / WHATSAPP_FULL_HISTORY_DAYS and WHATSAPP_FULL_HISTORY_SIZE_MB bound the request.
  • Daily presence pulse:

    • --presence-pulse-enabled=true or WHATSAPP_PRESENCE_PULSE_ENABLED=true (default: true).
    • --presence-pulse-interval=24h controls how often each connected device is pulsed.
    • --presence-pulse-duration=5m controls how long the account stays available before returning to unavailable.
  • Webhooks for received messages and other events:

  • Per-device webhooks — Each device can have its own webhook URL and event filters.

    • Set via API: PATCH /devices/:device_id/webhook with {"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_url to an empty string with PATCH to 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 --webhook URLs still receive the device's events (signed with the global secret, filtered by WHATSAPP_WEBHOOK_EVENTS) while the device URL keeps its own secret and event filter.
  • Webhook signatures — Webhook requests include an HMAC-SHA-256 signature in the X-Hub-Signature-256 header. Set a private key with --webhook-secret or WHATSAPP_WEBHOOK_SECRET. The old published default secret is 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:

    • `-
Publisher informationSoftware details and release files are provided by the publisher.