Developer API
Programmatic access to Sancharya — webhooks, REST endpoints, and integration guides.
Quickstart
Trigger an autonomous Indian multilingual phone agent the instant a lead fills a form on your website, Meta Ads, or CRM. Under 30 seconds connection speed guaranteed.
curl -X POST https://sancharya.marketingko.in/api/webhooks/leads \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"lead": {
"name": "Karthik Varma",
"phone": "+919876543210",
"email": "karthik@example.com",
"source": "Meta Ads (Gachibowli Highrise)"
},
"employeeId": "emp-swara-telugu-1",
"triggerImmediateCall": true,
"tier": "standard"
}'POST /api/webhooks/leads
Accepts JSON payloads from Facebook Lead Ads, Google Forms, Zapier, or Pabbly Connect. Automatically attaches the lead to your tenant and dials them in real time if enabled.
{
"lead": {
"name": "string (required)",
"phone": "string (E.164, e.g. +919876543210)",
"email": "string (optional)",
"requirement": "string (optional)",
"budget": "string (optional)",
"source": "string (optional)"
},
"employeeId": "string (optional, defaults to active agent)",
"triggerImmediateCall": true
}Autonomous 30-Second Block Billing
Unlike human BPO agencies with fixed salaries or competitors with monthly lock-ins, Sancharya uses pure per-minute billing charged in 30-second blocks. If a call lasts 22 seconds, it is billed as 30 seconds.
- Value Tier: ₹3.50/min (1.75 credits per 30s block)
- Standard Tier: ₹5.00/min (2.50 credits per 30s block)
- Premium Tier: ₹7.00/min (3.50 credits per 30s block)
Telephony Modes
Every user can train and test their employee completely free on the free plan using in-app WebRTC audio calling. When you want to deploy to real telephone lines, configure your LiveKit SIP trunk or assign an active virtual number.
Direct browser-to-agent streaming with sub-400ms latency. No telephony provider required. Perfect for testing, website voice widgets, and mobile apps.
Connects to Indian carrier trunks via LiveKit SIP or Asterisk ARI. Supports DLT headers, caller ID spoof-protection, and instant failover.
India DPDP Act & TRAI DLT
All recordings and transcripts are encrypted in transit and at rest with AES-256. Automatic Do-Not-Call (DNC) list checking is executed before initiating outbound campaigns. DLT registration headers are injected automatically on telecom routes.