WhatsApp API
Desde USD $ 19 /mes
La más estable y rápida
API para WhatsApp
Enviar y recibir mensajes
via peticiones HTTP
Api para Desarrolladores
Diseñado para integrar WhatsApp con CRM, ERP o sitio web.
Texto, imagen, audio, vídeo, archivos y localización.
Simple y Configurable
Estatus y notificaciones Webhook.
Somos los únicos en ofrecer Desarrollos a Medida !!
Acceso instantáneo
Escanea código QR y listo!
Small
USD $ 19 /mes
- 200 Mensajes/día
Medium
USD $ 28 /mes
- 600 Mensajes/día
Pro
USD $ 34 /mes
- 1.800 Mensajes/día
Full
USD $ 39 /mes
- Over 5.400 Mensajes/día
* Incluido en todos los planes, enviar: imagen, audio, vídeo y archivos. Tamaño máximo del archivo: 2MB.
* Sólo se cuentan los mensajes enviados. Puede recibir el doble de mensajes del Plan.
Ejemplo: Plan Small, Enviar 200 y recibir 400.
* Sólo se cuentan los mensajes enviados. Puede recibir el doble de mensajes del Plan.
Ejemplo: Plan Small, Enviar 200 y recibir 400.
Chat API estable, segura y veloz
Enviar mensaje
Muy simple de usar!Incluya en todas sus consultas los Headers con sus credenciales
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)
Recibir mensaje (Webhook)
Ejemplo para montar un servidor básico para recibir la notificación de nuevos mensajes
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())