Skip to main content

Build WhatsApp Bots with Ease

WAPI is a modern TypeScript framework for building WhatsApp bots. Fast, secure, and elegant—powered by Baileys.

Get Started

Start building your WhatsApp bot in minutes.

Quick Start

Create your first WhatsApp bot in under 5 minutes

Installation

Install WAPI and set up your development environment

Key Features

Everything you need to build powerful WhatsApp bots.

Middleware System

Process messages with composable middleware functions

Command Routing

Handle commands with customizable prefixes and routing

Multiple Auth Strategies

Choose from Local, Redis, or MongoDB authentication

Rich Context API

Reply with text, images, videos, audio, and stickers

Explore the Documentation

Core Concepts

Understand the architecture and design patterns

Guides

Learn how to handle messages, media, and groups

API Reference

Complete API documentation for all classes and methods

Build docs developers (and LLMs) love