All Projects → allburov → whatsapp-http-api

allburov / whatsapp-http-api

Licence: Apache-2.0 license
WhatsApp HTTP API that you can configure in a click!

Programming Languages

typescript
32286 projects
Dockerfile
14818 projects
Makefile
30231 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to whatsapp-http-api

Whatsapp Web.js
A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
Stars: ✭ 4,103 (+1691.7%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-bot, whatsapp-api, whatsapp-web-api
WhatsappWeb4j
Standalone fully-featured Whatsapp Multi Device Web API for Java and Kotlin
Stars: ✭ 198 (-13.54%)
Mutual labels:  whatsapp-web, whatsapp-bot, whatsapp-api, whatsapp-chat, whatsapp-web-api
tithiwa
Automate Web WhatsApp with selenium in python.
Stars: ✭ 17 (-92.58%)
Mutual labels:  whatsapp, python-bot, whatsapp-web, whatsapp-bot, whatsapp-api
whatsapp-api-client
This library helps you easily create a javascript application with Whatsapp support
Stars: ✭ 39 (-82.97%)
Mutual labels:  whatsapp, whatsapp-bot, whatsapp-api, whatsapp-chat
wppconnect-server
Wppconnect Server is a ready-to-use API, just download, install, and start using, simple as that.
Stars: ✭ 290 (+26.64%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-bot, whatsapp-api
python-automated-bulk-whatsapp-messages
It is a python script to send automated bulk WhatsApp messages to multiple recipients from an excel sheet at once.
Stars: ✭ 56 (-75.55%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-bot, whatsapp-automation
Venom
Venom is the most complete javascript library for Whatsapp, 100% Open Source.
Stars: ✭ 3,457 (+1409.61%)
Mutual labels:  whatsapp, whatsapp-bot, whatsapp-api, ai-bot
whatsapp-bot
This is a Node.js console app containing Whatsapp handler using reactive methods to response messages as chatbot. Simple but useful project to start developing a complex NON-OFFICIAL Whatsapp chatbots.
Stars: ✭ 33 (-85.59%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-bot
waio
Is a pretty simple and fully asynchronous framework for WhatsApp Business API written in Python 3.7 with asyncio and aiohttp.
Stars: ✭ 18 (-92.14%)
Mutual labels:  whatsapp, whatsapp-bot, whatsapp-api
PedeWhats
Projeto "Pede Whats", para solicitação de diversos tipos de comidas através do Whatsapp diretamente para o restaurante!
Stars: ✭ 18 (-92.14%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-api
superchats
SuperChats is a premium library with unique features that control Whatsapp functions. With Superchats you can build service bots, multiservice chats or any system that uses whatsapp
Stars: ✭ 100 (-56.33%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-api
whatsapp-bot
Piyobot adalah whatsapp bot pintar
Stars: ✭ 124 (-45.85%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-bot
whatsapp-chatbot-1c-example
Внешняя обработка для программы 1С:Предприятие, которая демонстрирует реализацию простого чат-бота для мессенджера WhatsApp.
Stars: ✭ 13 (-94.32%)
Mutual labels:  whatsapp, whatsapp-bot, whatsapp-api
whatsapp-bot
whatsapp bot build with nodejs
Stars: ✭ 62 (-72.93%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-bot
whatsie
Qt Based WhatsApp Client
Stars: ✭ 437 (+90.83%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-chat
wappdriver
Wondering how to send WhatsApp messages using Python using only 3 lines of code? You have come to the right place!
Stars: ✭ 40 (-82.53%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-bot
kyros
Python wrapper for WhatsApp Web API websocket communication (based on https://github.com/sigalor/whatsapp-web-reveng)
Stars: ✭ 94 (-58.95%)
Mutual labels:  whatsapp, whatsapp-automation
WhatsAppBulkMessenger
This tools sends WhatsApp messages and invites directly to people on WhatsApp itself, without saving their contacts 🌠
Stars: ✭ 73 (-68.12%)
Mutual labels:  whatsapp, whatsapp-api
whatsapp-chat-parser-website
Website to view your exported WhatsApp chat logs 👁‍🗨
Stars: ✭ 68 (-70.31%)
Mutual labels:  whatsapp, whatsapp-chat
Whatsapp-Botto-Void
A fully Object Oriented WhatsApp bot built with TypeScript
Stars: ✭ 64 (-72.05%)
Mutual labels:  whatsapp, whatsapp-bot

WhatsApp HTTP API (WAHA)

Image

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

Tables of Contents

Features

Messages

  • Send messages
  • Receive messages
  • Message replies
  • Send location
  • Send buttons
  • Receive location
  • React to messages
  • Send media (images/documents/files)
  • Send voice messages
  • Receive media (images/audio/video/documents)
  • Receive messages - webhook retries

Sessions

  • Multi Device
  • Get the screenshot
  • Session saving (don't have to scan QR on every restart)
  • Single WhatsApp account running inside one container
  • Multiple WhatsApp account running inside one container

Security

  • Swagger panel authentication
  • API authentication

Updates

  • Bug fixes and updates come as soon as they are implemented.
  • One month delay in bug fixes and updates.

Groups [soon]

  • Join groups by invite
  • Get invite for group
  • Modify group info (subject, description)
  • Modify group settings (send messages, edit info)
  • Add group participants
  • Kick group participants
  • Promote/demote group participants

Contacts [soon]

  • Mention users
  • Mute/unmute chats
  • Block/unblock contacts
  • Get contact info
  • Get profile pictures
  • Set user status message

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!

{{< details "Why Docker?" >}} Docker makes it easy to ship all-in-one solution with the runtime and dependencies. You don't have to worry about language-specific libraries or chrome installation.

Also Docker makes installation and update processes so simple, just one command! {{< /details >}}

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.

For Core version the command is

docker pull devlikeapro/whatsapp-http-api

For Plus version, we use login to get the image before:

docker login -u devlikeapro -p {PASSWORD}
docker pull devlikeapro/whatsapp-http-api-plus
docker logout

Read more about how to get PASSWORD for [Plus Version →]({{< relref "plus-version" >}})

2. Run WhatsApp HTTP API

Run WhatsApp HTTP API:

docker run -it --rm -p 127.0.0.1:3000:3000/tcp --name whatsapp-http-api devlikeapro/whatsapp-http-api

# 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/session/start, click on Try it out, then Execute a bit below.

The example payload:

{
  "name": "default"
}

By using the request with name values you can start multiple session (WhatsApp accounts) inside the single docker container in Plus version and only one account in Core version.

Read more about [multiple sessions →]({{< relref "/docs/how-to/sessions" >}})

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:

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

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

# 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!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].