Enterprise-grade REST API that allows you to send and receive WhatsApp messages, manage sessions, handle groups, and much more. Get started in minutes with comprehensive documentation and interactive examples.
Powerful features and flexible APIs to integrate WhatsApp into your applications seamlessly
Token-based authentication with Authorization or Token headers. Support for user tokens and admin tokens with granular permissions.
Send text, images, videos, audio, documents, stickers, locations, contacts, buttons, lists, and polls with full media support.
Create groups, manage participants, set group settings, handle invites, and control announcements with complete administrative control.
Real-time event notifications with customizable webhooks. Receive instant updates for messages, status changes, and more.
Built-in AI configuration for automated responses, natural language processing, and intelligent message handling. Includes automatic message analysis to extract intent, sentiment, and key information.
Optional HMAC signature verification for webhooks to ensure data integrity and prevent unauthorized access.
Follow these simple steps to integrate WhatsApp messaging into your application
Generate your API token by creating a user instance with admin credentials
Initialize a WhatsApp session and establish connection with the API
Get the QR code and scan it with your WhatsApp mobile app
Start sending WhatsApp messages programmatically via API
# Step 1: Create a user instance curl -X POST https://wchatpro.com/admin/users \ -H "Authorization: YOUR_ADMIN_TOKEN" \ -H "Content-Type: application/json" \ -d '{"name": "MyApp", "token": "my_secret_token", "events": "All"}' # Step 2: Connect to WhatsApp curl -X POST https://wchatpro.com/session/connect \ -H "Token: my_secret_token" # Step 3: Get QR code and scan with WhatsApp curl https://wchatpro.com/session/qr \ -H "Token: my_secret_token" # Step 4: Send your first message 🚀 curl -X POST https://wchatpro.com/chat/send/text \ -H "Token: my_secret_token" \ -H "Content-Type: application/json" \ -d '{"Phone": "447457424747", "Body": "Hello from WchatPro!"}'
WchatPro uses token-based authentication for secure and flexible API access
For regular API endpoints, include your user token in the request header. This token provides access to message sending, session management, and user-specific operations.
Authorization: YOUR_USER_TOKEN // OR as Token header Token: YOUR_USER_TOKEN // OR as query parameter ?token=YOUR_USER_TOKEN
For administrative endpoints (/admin/*), use the admin token. This provides elevated privileges for user management, database operations, and system configuration.
Authorization: YOUR_ADMIN_TOKEN // Used for endpoints like: POST /admin/users GET /admin/users DELETE /admin/users/{id}
Explore all available endpoints, test requests live, and view detailed response schemas