Messaging Services
/
Voice
Bulk Voice Call & IVR API
Broadcast pre-recorded voice files, utilize multi-lingual Text-To-Speech (TTS) conversions, and configure dynamic DTMF keypad collection endpoints.
Send TTS Call with IVR webhook callback
curl -X POST https://api.msgx.in/v1/voice/calls \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "+919999999999",
"type": "tts",
"text": "Hello, press 1 to confirm, press 2 to cancel.",
"language": "en-US",
"callback_url": "https://yourwebsite.com/voice-webhook"
}'