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

Sancharya REST API Reference (v2.0)

All endpoints require an Authorization: Bearer <api_key> header. Responses are formatted in JSON with standardized error codes and HTTP response statuses.

Base URL: https://sancharya.marketingko.in
Available Endpoints (7)
POST/api/v1/workflows/triggerScope: workflows:execute

Remote Workflow & Automation Runner

Execute any registered agentic or visual conversation workflow remotely via API key. Integrates seamlessly with n8n, Zapier, Make, and external webhook pipelines.

Rate Limit

120 requests/minute

Content Type

application/json

Request JSON Body
{
  "workflowId": "sancharya-speed-to-lead-agentic",
  "triggerType": "api",
  "payload": {
    "name": "Suresh Kumar",
    "phone": "+919876543210",
    "source": "Custom External CRM",
    "preferredLanguage": "Telugu",
    "budget": "₹2.5 Cr"
  }
}
Example Response (200 OK)
{
  "success": true,
  "message": "Workflow sancharya-speed-to-lead-agentic executed successfully",
  "result": {
    "executionId": "exec_1712345678",
    "status": "success",
    "durationMs": 42,
    "stepsExecuted": [
      "Inbound Lead Webhook",
      "E.164 Phone Normalizer",
      "TRAI Hours Compliance Guard",
      "Autonomous Telephony Dispatch"
    ]
  }
}
cURL Example
curl -X POST https://sancharya.marketingko.in/api/v1/workflows/trigger \
  -H "Authorization: Bearer san_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "workflowId": "sancharya-speed-to-lead-agentic",
    "payload": {
      "name": "Suresh Kumar",
      "phone": "+919876543210"
    }
  }'