Developer Platform • Sancharya Voice API
Developers & API Integration
Integrate Sancharya autonomous voice agents into your CRM, web applications, and backend services with REST APIs and signed webhooks.
v2.0 REST API Active
API Connectivity
Operational
Avg Latency: ~84ms
Success Rate
98%
12 requests tracked
Integration Checklist
1. Read the REST API Quickstart
Understand authentication, 30s block credits, and voice parameter schemas.
Read Documentation →2. Create an Organization API Key
Generate a cryptographically secure key with custom scopes for your server.
Generate API Key →3. Test Outbound Calling via Sandbox
Dispatch a test request in the browser and inspect the structured JSON response.
Open Sandbox Tester →4. Configure Signed Webhooks
Receive real-time call.completed events with call summary and extracted fields.
Trigger Call via cURL
curl -X POST https://sancharya.in/api/webhooks/lead-inbound \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"lead": {
"name": "Rahul Sharma",
"phone": "+919876543210",
"requirement": "3BHK Villa inquiry"
},
"triggerImmediateCall": true
}'Node.js / TypeScript Example
import axios from "axios";
const response = await axios.post("https://sancharya.in/api/webhooks/lead-inbound", {
lead: {
name: "Rahul Sharma",
phone: "+919876543210",
requirement: "3BHK Villa inquiry",
},
triggerImmediateCall: true,
}, {
headers: {
Authorization: "Bearer san_live_YOUR_API_KEY",
"Content-Type": "application/json",
},
});
console.log("Call triggered:", response.data);