WhatsApp API
for
developers
Send and receive messages, manage chats, groups, and channels easily with our enterprise-grade API. Pay per WhatsApp account, no pay-per-message fees.
<?php
$instanceId = 123;
$apiToken = 'your-api-token';
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://waapi.app/api/v1/instances/" . $instanceId . "/client/action/send-message",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'chatId' => '[email protected]',
'message' => 'I really like WaAPI!'
]),
CURLOPT_HTTPHEADER => [
"accept: application/json",
"authorization: Bearer " . $apiToken,
"content-type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
const instanceId = 123;
const apiToken = 'your-api-token';
const options = {
method: 'POST',
headers: {
accept: 'application/json',
'content-type': 'application/json',
authorization: 'Bearer ' + apiToken
},
body: JSON.stringify({
chatId: '[email protected]',
message: 'I really like WaAPI!'
})
};
fetch('https://waapi.app/api/v1/instances/' + instanceId + '/client/action/send-message', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
// python -m pip install requests
import requests
instanceId = 123
apiToken = "your-api-token"
url = "https://waapi.app/api/v1/instances/" + instanceId + "/client/action/send-message"
payload = {
"chatId": "[email protected]",
"message": "I really like WaAPI!"
}
headers = {
"accept": "application/json",
"content-type": "application/json",
"authorization": "Bearer " + apiToken
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://waapi.app/api/v1/instances/123/client/action/send-message \
--header 'accept: application/json' \
--header 'authorization: Bearer your-api-token' \
--header 'content-type: application/json' \
--data '
{
"chatId": "[email protected]",
"message": "I really like WaAPI!"
}
'
Implement WaAPI in any application in just five minutes
With a few lines of code, add WaAPI to any app, in any language or framework.
Learn more at our docs
Send and receive WhatsApp messages with your App
Easily integrate WhatsApp messaging into your applications. Send texts, media files, contacts, voice messages, and locations across chats, groups, and communities.
Message Types
Supported Channels
Kickstart your development with SDKs and Integrations
We offer custom SDKs and Integrations for the most popular languages, frameworks and automation services to make your implementation easy.
Learn more at our docs
Laravel Package
View on Github
PHP Package
View on Github
Node.js Package Coming Soon
View on Github
Python Package Coming Soon
View on Github
Zapier Integration Coming Soon
View on Zapier
How it works
Get started with WaAPI in just 3 easy steps
Sign Up
Sign up for your free WaAPI account. Enjoy a 3-day trial with no credit card required.
Connect WhatsApp
Link your WhatsApp account by simply scanning a QR code with your phone.
Integrate & Launch
Follow our docs to quickly integrate WaAPI into your app and start using WhatsApp features.
Enhance your app with WhatsApp and start now!
Power up your app with WaAPI
Suggested use cases to inspire your integration
Send Notifications & Reminders. Send real-time alerts, notifications and reminders to users and customers through WhatsApp with our API.
Automate Customer Support. Build automated workflows for managing customer inquiries and processing e-commerce returns using WaAPI.
Build Intelligent Chatbots. Integrate custom chatbots to enhance customer interaction, lead generation, and support any other business need.
Boost Marketing Performance. Send targeted marketing campaigns and remarketing messages, taking advantage of WhatsApp's high engagement rates.
Manage Groups & Communities. Effortlessly manage WhatsApp groups and channels, facilitating community building, event coordination, and more.
Sync Conversations. Automatically sync WhatsApp conversations with your existing tools and platforms to keep customer data unified and up-to-date.
Find more real life case studies in our Blog
Frequently Asked Questions
Find answers to common questions about WaAPI and its features.
Have more questions? We are here to help — contact us anytime!
-
No. A smartphone and phone number(s) are sufficient for sending and receiving messages.
-
No, we do not charge per message. Our pricing is based on a flat-rate billing plan, allowing you to send messages without worrying about additional per-message fees.
-
Absolutely! As a developer-focused service, we encourage you to build and market innovative products with our API. We're excited to see what you create!
-
No. With a single billing plan, you can have as many instances as you need. There is no need to subscribe to multiple plans to increase your instance limit.
-
We retain your instances until your current billing period expires. After expiration, we only remove instances if they exceed your new plan limit, starting with the most recently created ones. We'll notify you by email about any changes when you unsubscribe.
See why our customers are excited
Trusted by 5.000+ developers worldwide to elevate their apps with WhatsApp integration
Overall we are very happy with the reliability and general service. We use this to communicate with our customers and automate their requests over WhatsApp.
Dan M.
CTO
Good and affordable alternative to official WhatsApp Business API. Uptime is good compared to similar services.
Ranjid E.
CEO
Great tool to send marketing campaigns over WhatsApp, would recommend for anyone in need of a reliable WhatsApp API.
Daniel M.
Senior Backend Developer
Take full advantage of WhatsApps capabilities by integrating our enterprise-grade API into your application.