Send messages
One endpoint, POST /messages, for text plus image, voice notes,
audio, video, and documents — addressed by a single chatId.
Teiwah connects a WhatsApp number to your automation. The model is intentionally small:
flowchart LR WA[Incoming WhatsApp message] --> H[Teiwah webhook] H --> A[AI / n8n / your backend] A --> S[POST /messages] S --> WA2[WhatsApp reply]
Send messages
One endpoint, POST /messages, for text plus image, voice notes,
audio, video, and documents — addressed by a single chatId.
Receive webhooks
Inbound WhatsApp events — 1:1 and group — are delivered to your
webhook URL in the same chatId + text/media shape you send.
Session API keys
Each connected WhatsApp session has its own Bearer key, issued by the Teiwah dashboard.
Media by URL
Media is referenced by URL. Download inbound media on demand; send outbound media by URL or base64.