Unnat AI Solutions Unnat AI Developers
Production REST API v1.0

Programmable Autonomous AI Voice & WhatsApp Infrastructure

Trigger outbound AI phone calls with sub-200ms latency, stream live transcripts, and dispatch verified WhatsApp messages with clean JSON APIs.

POST https://api.unnataisolutions.com/v1/calls/dispatch

Dispatches an outbound AI phone call to any Indian mobile number in under 3 seconds. The neural agent handles the complete conversation in fluent Hindi or English according to your prompt.

// cURL Example: Trigger Outbound AI Call
curl -X POST https://api.unnataisolutions.com/v1/calls/dispatch \
  -H "Authorization: Bearer unnat_sec_live_9481940294" \
  -H "Content-Type: application/json" \
  -d '{
    "phone_number": "+919876543210",
    "customer_name": "Rahul Verma",
    "agent_persona": "study_visa_counselor",
    "language": "hinglish",
    "custom_variables": {
      "course": "Canada PG Diploma Sept 2027",
      "ielts_score": "6.5",
      "lead_source": "Meta Ads"
    },
    "webhook_url": "https://your-crm.com/webhooks/call-completed"
  }'
Sample Response (200 OK):
{
  "status": "queued",
  "call_id": "call_uai_839102840",
  "dispatched_at": "2026-10-24T12:55:00Z",
  "estimated_ring_delay_ms": 1850
}
WEBHOOK call.completed

When an AI call finishes, Unnat AI automatically posts a signed JSON payload containing the audio recording URL, full dialogue transcript, intent disposition, and extracted parameters.

// Webhook Event Payload: call.completed
{
  "event": "call.completed",
  "call_id": "call_uai_839102840",
  "phone_number": "+919876543210",
  "duration_seconds": 142,
  "disposition": "APPOINTMENT_CONFIRMED",
  "sentiment": "POSITIVE",
  "appointment_slot": "2026-10-28 11:30 AM",
  "audio_recording_url": "https://storage.unnataisolutions.com/rec/call_uai_839102840.mp3",
  "transcript": [
    {"speaker": "ai", "text": "Namaste Rahul ji! Main Apex Visa se baat kar rahi hoon..."},
    {"speaker": "user", "text": "Haan ji, maine form bhara tha Canada ke liye."},
    {"speaker": "ai", "text": "Bahut badiya! Aapka IELTS band kya hai?"}
  ]
}

Request Developer API Sandbox Credentials

Get 50 free test minutes, full documentation access, and direct webhook support on WhatsApp with Rohit.

Request API Sandbox Access on WhatsApp