Connect WhatsApp numbers via QR-code

White-label API for WhatsApp Messenger and WhatsApp Business

Connect existing WhatsApp numbers via Linked Devices and scanning a QR code. Your customers don't need to have access to 2Chat. Simple and flexible API with pricing that scales with your needs.

curl --location --request POST 'https://api.p.2chat.io/open/whatsapp/send-message' \ --header 'X-User-API-Key: your_api_key_here' \ --header 'Content-Type: application/json' \ --data-raw '{ "to_number": "+5215512345432", "from_number": "+595981048477", "text": "Hello from 2Chat API" }'
WhatsApp BusinessWhatsApp

Host your WhatsApp numbers with 2Chat paying $10/connection (or $0.33 per day), or even less with 10+ numbers connected.

curl -X POST --location 'https://api.p.2chat.io/open/whatsapp/channel/create' \ --header 'Content-Type: application/json' \ --header 'X-User-API-Key: your_api_key_here' \ --data '{ "phone_number": "+18647351567", "friendly_name": "Testing number creation" }'
Customer number connection

Connect Your Customers' WhatsApp Numbers

Connect customer WhatsApp numbers via API to send and receive messages, manage groups, create chatbots, and more.

Validate WhatsApp Numbers Instantly
Number verification

Validate WhatsApp Numbers Instantly

Verify if phone numbers are active on WhatsApp before sending messages. Our verification API helps you check number validity and maintain clean contact lists for optimal message deliverability.

curl -X POST --location 'https://api.p.2chat.io/open/whatsapp/group/create' \ --header 'Content-Type: application/json' \ --header 'X-User-API-Key: your_api_key_here' \ --data '{ "from_number": "+595981048477", "group": { "name": "My cool WhatsApp group", "participants": [ "+17137157533", "+18647351567" ] } }'
Group messaging

Powerful Group Management API

Automate WhatsApp groups at scale with 2Chat's API. Create groups, send messages, manage members, and monitor activity - ideal for community engagement and team collaboration.

Send and Receive Images, Videos, and Documents
Media handling

Send and Receive Images, Videos, and Documents

Send and receive high-quality documents and media files through our API. Manage file uploads and track delivery status to build engaging WhatsApp experiences.

Expose 2Chat to Claude, ChatGPT and any LLM
MCP Server

Expose 2Chat to Claude, ChatGPT and any LLM

Skip writing your own tool layer. The official 2Chat Model Context Protocol server publishes every WhatsApp, WABA, SMS, voice, contact and account endpoint as a typed tool, ready to plug into Claude, ChatGPT, OpenClaw with Hermes, Cursor, n8n and any other MCP-aware client.

Built for AI-native development
Vibe-coding ready

Built for AI-native development

Drop the 2Chat docs, OpenAPI spec or MCP server into Claude Code, Cursor, ChatGPT or any agent that helps you ship. Predictable REST endpoints, clear schemas and a single API key header mean your AI pair can scaffold integrations in minutes, not days.

Public OpenAPI spec ready for code generation

Postman collection with ready-to-paste examples

MCP server so agents can hit the API directly

Add telephony to your product
Voice and virtual numbers

Add telephony to your product

Embed real phone calls inside your app and provision virtual numbers in 90+ countries, all through the same 2Chat platform. Use the voice SDK to drop a call interface into any web or mobile UI, and the virtual numbers API to buy, list and manage numbers programmatically.

JavaScript voice SDK for in-app calling

REST API to search, purchase and manage virtual numbers

Local, mobile and toll-free coverage across 90+ countries

Coming from open source?

Using Baileys, whatsapp-web.js, or whatsmeow?

See how 2Chat's hosted WhatsApp API compares with running your own library: hosting, protocol updates, session management, and the path to the official API.

Build with 2Chat

Yes. You can use the API to generate the QR-code that you can display on your app and let your customer scan it to connect their WhatsApp number to your software using 2Chat just as an invisible intermediary.

We provide the infrastructure to connect your WhatsApp numbers via QR-code while keeping the connections alive and stable.

We not only provide the API but also a ready-to-use infrastructure. Our API is designed for production use and scale, respecting WhatsApp's limits and best practices.

Our standard pricing is $15 per connected number when choosing the Pro plan. If you plan to connect more than 20 numbers, please contact us and we will be happy to offer you a custom price.

Strategic Decision

Ready to take your communication to the next level?

Great teams don't leave results to chance. With the right communication system, you can follow up faster, build stronger relationships, and close more deals effortlessly.