Embed Sarvam Samvaad to turn Gupshup conversational flows into voice-first agents across 11 Indian languages. Fast deployment, sub-500ms response, and enterprise integrations so your agents handle support, payments and sales calls across channels.
// Example: request a reply + TTS from Sarvam Samvaad
POST https://api.sarvam.example/v1/agents/respond
Content-Type: application/json
Authorization: Bearer <SARVAM_API_KEY>
{
"channel":"voice",
"conversation": {
"customer_id":"g12345",
"transcript":"Mera order 12345 abhi tak nahi aaya. Can you help?",
"context": {"orderId":"12345"}
},
"response_options": {"lang":"hi-IN","tts_voice":"brand_female_v2","stream_audio":true}
}
// Sarvam returns: {reply_text, language, confidence, audio_url}
// Gupshup can then stream audio to PSTN or return an audio attachment to WhatsApp.