WAIA Connect

v1.1.0
com.waiaconnect/connect Checked 2 days ago Published 3 days ago

Manage your WAIA Connect account (official WhatsApp Cloud API + Coexistence) from your AI.

With Coexistence the number keeps working in the WhatsApp Business app on the phone while your software uses the API, and what the team types on the phone reaches your webhook as message.echo. Create an API key in the panel (API keys), take your number's conn_… from GET /v1/connections, and send a text: Free text only goes out inside the 24-hour window after the customer last wrote to you; outside it, send an approved template.

Summary extracted from the README.

WhatsApp Cloud API examples — WAIA Connect

mcptry

WAIA Connect is a REST API on top of Meta's official WhatsApp Business Platform (Cloud API + Coexistence): one API key to send and receive WhatsApp messages, manage templates and get signed webhooks, from a Meta Tech Provider. This repo has small, working examples for developers.

With Coexistence the number keeps working in the WhatsApp Business app on the phone while your software uses the API, and what the team types on the phone reaches your webhook as message.echo.

Examples

Example Language Docs
verify-webhook-signature/ Node.js · Python · PHP · Cloudflare Workers (Web Crypto) Verify the signature
send-message/ curl · Node.js · Python Send a message
receive-webhook/ Node.js (Express) · Python (FastAPI) Receive the webhook
supabase-edge-function/ TypeScript (Deno) + SQL Supabase guide
n8n/ n8n workflow JSON WhatsApp in n8n
embedded-signup/ curl · Node.js · HTML (popup + postMessage) Hosted onboarding
bot-pause-on-echo/ Node.js · n8n workflow JSON Pause the bot when a human replies
mcp/ MCP config (Claude, ChatGPT, Cursor, VS Code) MCP
coexistence/ — (explainer) WhatsApp Coexistence

Quick start

Create an API key in the panel (API keys), take your number's conn_… from GET /v1/connections, and send a text:

curl -X POST https://api.waiaconnect.com/v1/messages \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"connectionId":"conn_YOUR_CONNECTION_ID","to":"5491100000000","type":"text","text":{"body":"Hello from WAIA Connect"}}'
# 202 {"id":"msg_…","status":"queued"}

Free text only goes out inside the 24-hour window after the customer last wrote to you; outside it, send an approved template.

Pricing and trial

  • 14-day free trial with your real number, no credit card.
  • Flat price per connected number, no message cap, no markup on Meta fees (Meta bills its own per-message fees separately).
  • Plans and current prices: waiaconnect.com.

Full API reference: waiaconnect.com/en/docs · LLM summary: waiaconnect.com/llms.txt


En español

WAIA Connect es una API REST sobre la plataforma oficial de WhatsApp Business de Meta (Cloud API + Coexistence): con una clave de API mandás y recibís mensajes de WhatsApp, administrás plantillas y recibís webhooks firmados. Somos Tech Provider de Meta. Este repositorio tiene ejemplos chicos que funcionan.

Con Coexistence el número sigue funcionando en la app WhatsApp Business del celular mientras tu sistema usa la API, y lo que el equipo escribe desde el celular te llega al webhook como message.echo.

Ejemplo Qué hace Documentación
verify-webhook-signature/ Verifica la firma HMAC del webhook (Node, Python, PHP, Cloudflare Workers) Verificar la firma
send-message/ Manda texto, archivo por enlace, plantilla, botones y listas (curl, Node, Python) Documentación
receive-webhook/ Receptores mínimos (Express, FastAPI): message.received, message.status, message.echo Documentación
supabase-edge-function/ El webhook en una Edge Function de Supabase Guía de Supabase
n8n/ Flujos de n8n para importar Integraciones
embedded-signup/ Alta de marca blanca para clientes de una agencia o SaaS: el enlace por API, el popup con postMessage y el resultado por webhook (curl, Node, HTML) Onboarding hospedado
bot-pause-on-echo/ Pausar el bot N minutos cuando alguien responde desde el celular (message.echo), en Node y en n8n Pausar el bot cuando responde un humano
mcp/ El MCP de WAIA Connect en Claude, ChatGPT, Cursor y VS Code MCP
coexistence/ Qué es Coexistence, qué llega como echo, países y límites Coexistence

Prueba gratis de 14 días con tu número real, sin tarjeta. Precio fijo por número conectado, sin tope de mensajes y sin recargo sobre lo que cobra Meta. Planes y precios en waiaconnect.com.

License

MIT © WAIA Connect