WhatsApp API
Start at USD $ 19 /month
The most stable and fast
API for WhatsApp
Send and receive messages
via HTTP requests
Api for Developers
Designed to integrate WhatsApp with CRM, ERP or website.
Text, image, audio, video, files and location.
Simple and Customizable
Status and Webhook notifications.
We are the only ones that offer
Custom Developments
!!
Quick access
Scan QR code and enjoy
Small
USD $ 19 /month
- 200 Messages/day
Medium
USD $ 28 /month
- 600 Messages/day
Pro
USD $ 34 /month
- 1.800 Messages/day
Full
USD $ 39 /month
- Over 5.400 Messages/day
* Send image, audio, video and files included in all plans. Max. file size: 2MB.
* Only sent messages are counted. You can receive twice the number of messages of the Plan.
Example: Small Plan, Send 200 and receive 400.
* Only sent messages are counted. You can receive twice the number of messages of the Plan.
Example: Small Plan, Send 200 and receive 400.
Stable, safe and fast chat API
Send message
Very simple to use!Include in all your queries the Headers with your credentials
curl -X POST "https://api.apichat.io/v1/sendText" # Send Text message (Type POST)
-H "Content-Type: application/json" \ # Header: Always include
-H "client-id: MY_CLIENT_ID" \ # Header: Your cliente Id
-H "token: MY_TOKEN" \ # Header: Your token
-d '{"number": "12345678901", "text": "Hello!"}' # Your message
//bash: npm install node-fetchimport fetch from 'node-fetch'const body = {number: '12345678901',text: 'Hello!'
}
fetch('https://api.apichat.io/v1/sendText', {
method: 'POST',
body: JSON.stringify(body),
headers: {
'Content-Type': 'application/json',
'client-id': MY_CLIENT_ID,
'token': MY_TOKEN
}
})
.then(res => res.json())
.then(json => console.log(json))
import requests
url = "https://api.apichat.io/v1/sendText"
headers = {
"Content-Type": "application/json",
"client-id": MY_CLIENT_ID,
"token": MY_TOKEN
}
body = {"number": "12345678901", "text": "Hello!"}
requests.post(url, json=body, headers=headers)
Receive messages (Webhook)
Example to mount a basic server to receive new message notification
import express from "express"
const app = express()
app.use(express.json())
app.post('/webhook', async (req, res) => {
res.sendStatus(200)
console.log(req.body)
})
const port = 3000
app.listen(port, async () => {
console.log(`Get a public url using ngrok.com and start with port: ${port}`)
})
from flask import Flask, request
app = Flask(__name__)
@app.route("/webhook", methods=["POST"])
def webhook():
print(request.get_json())
curl -X GET "https://api.apichat.io/v1/messages" # Get last 100 messages (Type GET)
-H "client-id: MY_CLIENT_ID" \ # Header: Your cliente Id
-H "token: MY_TOKEN" # Header: Your token
//bash: npm install node-fetchimport fetch from 'node-fetch'fetch('https://api.apichat.io/v1/messages', {method: 'GET',headers: {'client-id': MY_CLIENT_ID,'token': MY_TOKEN
}
})
.then(res => res.json())
.then(json => console.log(json))
import requests
url = "https://api.apichat.io/v1/messages"
headers = {
"client-id": MY_CLIENT_ID,
"token": MY_TOKEN
}
req = requests.get(url, headers=headers)
print(req.json())