v1.0.3 Now Available
The Type-Safe WhatsApp Client
A lightweight, strictly-typed, and zero-dependency Node.js client for Meta's official WhatsApp Cloud API. Build robust bots with confidence.
Get Started
$npm install whatsapp-cloud-ts
Type-Safe Templates
Catch missing or incorrect template parameters at compile time with our strict TypeScript bindings.
Zero Dependencies
Built natively for Node 18+ using the native fetch API. Small, fast, and secure.
Auto-Codegen CLI
Generate TypeScript interfaces directly from your approved Meta templates automatically.
Typed Bulk Sending
Send personalised templates to multiple users efficiently while respecting Meta's rate limits.
Webhook Parser
Flattens Meta's deeply nested webhook payloads into a clean, strongly-typed array of events.
24-Hour Window
Complete support for all standard message types including interactive buttons, lists, and media.