๐Ÿ“– Developer Documentation

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 in 3 lines

Same two endpoints work in every language.

Node.js
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);
Python
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
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}'