TypeScript wrapper for Meta's Cloud API
npm install meta-cloud-apiMeta Cloud API - A powerful TypeScript wrapper for Meta's Cloud API, providing a clean and type-safe interface for WhatsApp Business Platform integration.



- ๐ Documentation - Complete documentation with guides and examples
- ๐ Getting Started - Quick start guide
- ๐ API Reference - Comprehensive API documentation
- ๐ง Examples - Production-ready code examples
- express-simple - Basic Express.js integration
- express-production - Production-ready example with conversation flows, database, and queue processing
- nextjs-app-router-example - Next.js App Router integration
- nextjs-page-router-example - Next.js Pages Router integration
- Messages
- Media
- Templates
- Flows
- Phone Numbers
- Business Profile
- Registration
- Two-Step Verification
- Encryption
- QR Codes
- WABA
- Block Users
- Calling
- Groups
- Marketing Messages
- Commerce Settings
- Payments
- ๐ Type-Safe Development - Built with TypeScript strict mode for complete type safety and excellent IntelliSense
- ๐ฆ Comprehensive Coverage - Full support for 17+ WhatsApp Business Platform APIs including Messages, Media, Templates, Flows, and more
- ๐๏ธ Modular Architecture - Clean separation with dedicated API classes, tree-shakeable imports, and minimal bundle size
- ๐ Framework-Specific Webhooks - Built-in adapters for Express.js and Next.js (App Router & Pages Router)
- โก Production Ready - Battle-tested with error handling, retry logic, rate limiting, and comprehensive logging
- ๐ฏ Advanced Features - Support for Flows, End-to-End Encryption, QR Codes, Two-Step Verification, Groups, and WABA management
- ๐ Excellent Documentation - Complete documentation site with guides, API reference, and working examples
- ๐งช Well Tested - Comprehensive test coverage with unit, integration, and E2E tests
``bash``
npm install meta-cloud-apior
yarn add meta-cloud-apior
pnpm add meta-cloud-api
- Node.js 18 LTS or later
- TypeScript 4.5+ (for TypeScript projects)
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.