Skip to main content

Powerful Features for Developers

Easy Integration

Meta Cloud API is designed to be easy to integrate with your existing Node.js applications, with a clean and intuitive TypeScript interface.

Rich Messaging Capabilities

From simple text to interactive buttons, templates, media sharing and more - build rich conversational experiences with WhatsApp.

Type-Safe Development

Built with TypeScript to provide code completion, parameter validation, and to catch errors during development - not at runtime.

Comprehensive API Documentation

meta-cloud-api.ts
import Whatsapp from 'meta-cloud-api';

// Initialize the client
const client = new Whatsapp({
  accessToken: process.env.ACCESS_TOKEN,
  phoneNumberId: process.env.PHONE_NUMBER_ID,
  version: '22'
});

// Send a WhatsApp message
const response = await client.messages.send({
  to: '+1234567890',
  type: 'text',
  text: {
    body: 'Hello from Meta Cloud API!'
  }
});

console.log(response);