Build with EmacronAI CRM API
Integrate supported WhatsApp OTP and CRM workflows into your app. Review the REST API and code examples for Node.js, Python, PHP, Go, and cURL.
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.
Website Forms, Booking & Chat
Embed live CRM booking availability, capture web forms, and send identified chat enquiries to your workspace CRM.
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
OpenAPI 3.1 reference for the documented OTP, messaging, contacts, and conversation endpoints. Read-only โ Try it out is disabled.
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.otp.send({ phone: '+919876543210' });
const { valid } = await oa.otp.verify(request_id, otp);import requests
r = requests.post('https://api.crm.emacronai.com/api/v1/whatsapp/otp/send',
json={'phone': '+919876543210'},
headers={'Authorization': 'Bearer API_KEY'})
request_id = r.json()['request_id']curl -X POST https://api.crm.emacronai.com/api/v1/whatsapp/otp/send \
-H "Authorization: Bearer API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone": "+919876543210"}'Downloads & tools
Everything you need to get started fast.