OpenAPI 3.1 · REST · JSON

EmacronAI CRM API Reference

Build on top of WhatsApp OTP, messaging, contacts, and conversations. Official Meta BSP API. Production-ready. Get your API key in 30 seconds.

1

Get API key

Sign up → Settings → API Keys

Sign up free →
2

Send your first OTP

POST /otp/send with phone number

See endpoint →
3

Go live

Verify OTP and integrate in your app

Verify endpoint →

Quick start — Node.js

whatsapp-otp.js
const API_KEY = 'YOUR_API_KEY';
const BASE = 'https://api.crm.emacronai.com/v1';

// 1. Send OTP
const { request_id } = await fetch(`${BASE}/otp/send`, {
  method: 'POST',
  headers: { 'Authorization': `Bearer ${API_KEY}`, 'Content-Type': 'application/json' },
  body: JSON.stringify({ phone: '+919876543210', expiry: 300, length: 6 }),
}).then(r => r.json());

// 2. Verify OTP
const { verified } = await fetch(`${BASE}/otp/verify`, {
  method: 'POST',
  headers: { 'Authorization': `Bearer ${API_KEY}`, 'Content-Type': 'application/json' },
  body: JSON.stringify({ request_id, otp: userEnteredOtp }),
}).then(r => r.json());

console.log(verified); // true ✅