GET
/
api
/
v1
/
language_groups
/
{language_group_id}
import os
from syllable_sdk import SyllableSDK


with SyllableSDK(
    api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:

    res = ss_client.language_groups.get_by_id(language_group_id=931598)

    # Handle response
    print(res)
{
  "name": "Call Center 1 Languages",
  "description": "Languages spoken by operators at Call Center 1",
  "language_configs": [
    {
      "dtmf_code": 1,
      "language_code": "en-US",
      "voice_display_name": "Alloy",
      "voice_provider": "OpenAI"
    },
    {
      "dtmf_code": 2,
      "language_code": "es-US",
      "voice_display_name": "Alejandro",
      "voice_provider": "Google"
    }
  ],
  "skip_current_language_in_message": true,
  "id": 1,
  "edit_comments": "Added Spanish support.",
  "agents_info": [
    {
      "id": 1,
      "name": "Test Agent"
    }
  ],
  "updated_at": "2024-01-01T00:00:00Z",
  "last_updated_by": "user@mail.com"
}

Authorizations

Syllable-API-Key
string
header
required

Path Parameters

language_group_id
integer
required

Response

200
application/json
Successful Response

Response model for language group operations. A language group is a collection of language, voice, and DTMF configuration that can be linked to an agent to define the languages and voices it supports. For more information, see Console docs.