Build with EmacronAI CRM API
Integrate WhatsApp OTP, messaging, and CRM into your app. REST API, SDKs for Node.js / Python / PHP / Go, and an interactive Swagger UI.
Base URL
https://api.crm.emacronai.com/v1
Auth
Bearer token โ Settings โ API Keys
Format
JSON request + response bodies
API Reference & Guides
Everything you need to integrate in minutes.
WhatsApp OTP
Send and verify one-time passwords via WhatsApp. 2 API calls, 15 min integration.
OTPless Magic Link
Password-free WhatsApp login. User taps "Continue with WhatsApp" โ auto-verified. No code to type.
WhatsApp Messaging
Send template messages, free-form texts, and manage conversation flows.
Contacts API
Create, update, search, and segment contacts in your CRM programmatically.
Webhooks
Receive real-time events for message delivery, OTP verification, and replies.
Integrations
Connect EmacronAI CRM to Slack, HubSpot, Shopify, Telegram, Google Sheets, Zapier, Segment, Mixpanel and more.
Node.js SDK
Official npm package. Zero dependencies, full TypeScript types, works in Node 16+.
API Reference
Full OpenAPI 3.1 spec with interactive Swagger UI. Try endpoints directly in your browser.
WhatsApp OTP in 3 lines
Same two endpoints work in every language.
import { createClient } from '@emacrontechnologies/outreachagent';
const oa = createClient(process.env.API_KEY);
const { request_id } = await oa.sendOtp({ phone: '+919876543210' });
const { verified } = await oa.verifyOtp(request_id, otp);import requests
r = requests.post('https://api.crm.emacronai.com/v1/otp/send',
json={'phone': '+919876543210', 'expiry': 300},
headers={'Authorization': 'Bearer API_KEY'})
request_id = r.json()['request_id']curl -X POST https://api.crm.emacronai.com/v1/otp/send \
-H "Authorization: Bearer API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone": "+919876543210", "expiry": 300}'Downloads & tools
Everything you need to get started fast.