Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

waha

> 编程语言
Open source

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click! 3 engines: WEBJS (browser based), NOWEB (websocket nodejs), GOWS (websocket go)

7.1K stars0 likes1 views
WebsiteGitHub

About

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click! 3 engines: WEBJS (browser based), NOWEB (websocket nodejs), GOWS (websocket go)

WAHA

WAHA - WhatsApp HTTP API (REST API) that you can install on your own server and run in less than 5 minutes!

  • Documentation: https://waha.devlike.pro/
  • Dashboard Example: https://waha.devlike.pro/dashboard
  • Swagger Example: https://waha.devlike.pro/swagger

Tables of Contents

  • Quick start
    • Requirements
    • Send your first message
      • 1. Download image
      • 2. Run WhatsApp HTTP API
      • 3. Start a new session
      • 4. Get and scan QR
      • 5. Get the screenshot
      • 6. Send a text message
    • What is next?
  • Development
    • Start the project

Quick start

Requirements

Only thing that you must have - installed docker. Please follow the original instruction how to install docker ->.

When you are ready - come back and follows the below steps to send the first text message to WhatsApp via HTTP API!

Send your first message

Let's go over steps that allow you to send your first text message via WhatsApp HTTP API!

1. Download image

Assuming you have installed Docker, let's download the image.

bash
docker pull devlikeapro/waha
bash
docker login -u devlikeapro -p {KEY}
docker pull devlikeapro/waha-plus
docker logout

Read more about how to get PASSWORD for ➕ WAHA Plus

2. Run WhatsApp HTTP API

Run WhatsApp HTTP API:

bash
docker run -it --rm -p 3000:3000/tcp --name waha devlikeapro/waha

# It prints logs and the last line must be
# WhatsApp HTTP API is running on: http://[::1]:3000

Open the link in your browser http://localhost:3000/ and you'll see API documentation (Swagger).

3. Start a new session

To start a new session you should have your mobile phone with installed WhatsApp application close to you.

Please go and read how what we'll need to a bit later: How to log in - the instruction on WhatsApp site

When your ready - find POST /api/sessions, click on Try it out, then Execute a bit below.

The example payload:

json
{
  "name": "default"
}

By using the request with name values you can start multiple session (WhatsApp accounts) inside the single docker container in Plus

4. Get and scan QR

Find GET /api/screenshot and execute it, it shows you QR code.

Scan the QR with your cell phone's WhatsApp app.

5. Get the screenshot

Execute GET /api/screenshot after a few seconds after scanning the QR - it'll show you the screenshot of you Whatsapp instance. If you can get the actual screenshot - then you're ready to start sending messages!

6. Send a text message

Let's send a text message - find POST /api/sendText in swagger and change chatId this way: use a phone international phone number without + symbol and add @c.us at the end.

For phone number 12132132131 the chatId is [email protected].

The example payload:

json
{
  "chatId": "[email protected]",
  "text": "Hi there!",
  "session": "default"
}

Also, you can use curl and send POST request like this:

bash
# Phone without +
export PHONE=12132132130
curl -d "{\"chatId\": \"${PHONE}@c.us\", \"text\": \"Hello from WhatsApp HTTP API\" }" -H "Content-Type: application/json" -X POST http://localhost:3000/api/sendText

What is next?

Go and read the full documentation!

Development

Start the project

  1. Clone the repository
  2. Make sure you're using node>=22 (check .nvmrc to get the version)
  3. Install the whatsapp-rust-bridge prerequisites:
bash
# Bun runtime used by whatsapp-rust-bridge prepare scripts
curl -fsSL https://bun.sh/install | bash -s -- bun-v1.3.9

# Rust nightly toolchain used for whatsapp-rust-bridge
curl -fsSL https://sh.rustup.rs | bash -s -- -y --default-toolchain nightly-2026-01-30
rustup target add wasm32-unknown-unknown
cargo install wasm-pack --vers 0.14.0 --locked
  1. Run the following commands:
bash
# Install dependencies
yarn install
# Fetch and compile proto files
yarn gows:proto
# Run
yarn start
# open http://localhost:3000

Issues· 453 open

View all issuesOpen on GitHub
  • #2276

    [Question] Pin messages in groups via the GOWS API and add participants sending history

    questionUpdated Sep 22, 2026
  • #2063

    [WEBJS] - Status upload broken after WhatsApp Web update

    bugengine:WEBJSpatron:PLUSUpdated Sep 18, 2026
  • #1943

    [BUG][WEBJS] `TypeError: Cannot read properties of undefined (reading 'getContact'/'getChat')` on `/api/contacts` and `/api/sendText`

    bugengine:WEBJSUpdated Sep 16, 2026
  • #1740

    [GOWS] - ERROR: value too long for type character varying(100)

    bugpatron:PLUSUpdated Sep 16, 2026
  • #2267

    [NOWEB] - First message from Click-to-WhatsApp ad contact (@lid) not emitted and missing from API on 2026.8.2

    Updated Sep 16, 2026
  • #2204

    [Feature Request] Send view-once image, video, and voice messages

    Updated Sep 14, 2026
  • #2263

    GET /api/{session}/groups returns object keyed by chatId on NOWEB, not an array

    bugengine:NOWEBUpdated Sep 14, 2026
  • #2261

    [GOWS/NOWEB/WEBJS/WPP] - sendPoll returns 201 but the poll is never delivered (ack stays 0/PENDING); sendText to the same chat works

    Updated Sep 11, 2026
  • #2250

    [WEBJS] - Incoming message stored in chat history but no message.any event emitted, and nothing logged

    engine:WEBJSpatron:PLUSUpdated Sep 2, 2026
  • #2238

    Feature Request: Add WhatsApp Voice/Video Call Support via WaCalls Integration

    engine:GOWSUpdated Sep 1, 2026

> Tags

TypeScriptai-botbothttp-apipython-bot

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 22, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言