curl --request POST \
--url 'https://api.voice.stateset.com/api/v1/voice/translation-calls' \
--header "Authorization: Bearer $STATESET_VOICE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"from": "+15551234567",
"language_a": "en",
"language_b": "es",
"participant_a": "+15551230001",
"participant_b": "+15551230002"
}'
{
"error": "Twilio not configured",
"ok": true,
"participant_a_call_sid": "CA123",
"participant_b_call_sid": "CA456",
"room_id": "8f1f7d28-0ea9-4531-95d7-8d8f0fd72516"
}
Start Translation Call
Tenant-scoped voice call operation for starting outbound AI calls or coordinating Twilio call setup.
POST
/
api
/
v1
/
voice
/
translation-calls
curl --request POST \
--url 'https://api.voice.stateset.com/api/v1/voice/translation-calls' \
--header "Authorization: Bearer $STATESET_VOICE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"from": "+15551234567",
"language_a": "en",
"language_b": "es",
"participant_a": "+15551230001",
"participant_b": "+15551230002"
}'
{
"error": "Twilio not configured",
"ok": true,
"participant_a_call_sid": "CA123",
"participant_b_call_sid": "CA456",
"room_id": "8f1f7d28-0ea9-4531-95d7-8d8f0fd72516"
}
Tenant-scoped voice call operation for starting outbound AI calls or coordinating Twilio call setup.
Request body
TranslationCallRequest
Response
TranslationCallResponse
Status codes
| Code | Meaning |
|---|---|
200 | Two outbound translation call legs were queued |
400 | Invalid request |
401 | Unauthorized |
502 | Twilio call setup failed |
503 | Required Twilio or stream-token configuration is missing |
curl --request POST \
--url 'https://api.voice.stateset.com/api/v1/voice/translation-calls' \
--header "Authorization: Bearer $STATESET_VOICE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"from": "+15551234567",
"language_a": "en",
"language_b": "es",
"participant_a": "+15551230001",
"participant_b": "+15551230002"
}'
{
"error": "Twilio not configured",
"ok": true,
"participant_a_call_sid": "CA123",
"participant_b_call_sid": "CA456",
"room_id": "8f1f7d28-0ea9-4531-95d7-8d8f0fd72516"
}
Last modified on August 31, 2026