Skip to content

Upgrading ​

To a newer version ​

bash
docker compose pull
docker compose up -d

Database migrations run automatically on start. Linked numbers stay linked.

When a new stable release is out, admins see Update available in the profile menu (bottom left) of the dashboard, linking to its release notes. The check asks GitHub twice a day; set UPDATE_CHECK=false to turn it off. It only notifies: to update automatically, use a tool like Watchtower.

From v4 ​

v5 is a rewrite with a dashboard, accounts and a database, but the v4 HTTP API keeps working. To upgrade an existing v4 installation:

  1. Add the ./data volume to your compose file.

  2. Keep your v4 credentials for the first start so linked numbers are imported:

    yaml
    volumes:
      - ./data:/app/data
      - ./media:/app/media
      - ./wa_credentials:/app/wa_credentials # v4 sessions are imported on first start

    Sessions that v4 stored in Redis (REDIS_URL) can't be imported and have to be linked again.

  3. Start the new version and open the dashboard. Create the owner account.

  4. Create API keys in the dashboard and update your apps.

Breaking changes ​

  • The API always requires a key. In v4 an empty KEY left the API open. Set KEY or create keys in the dashboard.
  • Media URLs must be http(s) URLs. image_url, document_url and friends no longer accept local file paths, which let API callers read files from the server.
  • Legacy webhook payloads gained from_alt, and document webhooks now include the file extension in media.document.

New webhooks with signatures, retries and more events are configured in the dashboard. See Webhooks.

Uses the unofficial WhatsApp Web protocol. Not affiliated with WhatsApp or Meta.