Languages
Get Language
Fetch a single supported language by its ID, including BCP-47 code, display name, and the voices available for that language.
GET
Get a language
Returns the full record for a single language supported by DialNexa. The response includes the language’s stable
id, its BCP-47 code (for example en-IN, hi-IN, en-US), the human-readable display name, and the set of voices available for that language.
When to use this
Use this endpoint when you have a languageid saved in your own database, on an agent configuration, or in a workflow node, and you need to resolve it to its display name, BCP-47 code, or available voice list. Common cases include:
- Agent configuration UIs that render the selected language for a saved agent and need to show its proper name and accent options.
- Audit and reporting tools that translate an internal language ID into a localized label for dashboards.
- Provisioning flows that validate a language is still supported on the platform before sending an agent update through Update Agent.
Path parameters
| Parameter | Description |
|---|---|
id | The language ID, for example lang_en_in. |
Errors
404 Not Foundis returned when theiddoes not match any supported language. This usually means the language has been removed from the platform or the ID was mistyped.401 Unauthorizedis returned when the API key is missing, malformed, or has been revoked. See Authentication.
Request
Response
Related endpoints
- List Languages: fetch every language the platform supports.
- List Voices: list voices filterable by language code.
- Update Agent: change the language assigned to an existing agent.
Get a language