> ## Documentation Index
> Fetch the complete documentation index at: https://dialnexa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List Languages

> List languages in the DialNexa catalog and check voice and transcriber compatibility separately.

Read only
List languages to read the global DialNexa language catalog. The response is a root array; each entry contains `id`, a short language `code` (for example `en`, `hi` or `hi-en` for Hinglish), and `name`. A catalog entry does not guarantee that every voice or speech-to-text provider supports it.

## When To List Languages

* Populate a language selector when configuring an agent.
* Resolve language IDs to their display names and codes.
* Check [List Voices](https://dialnexa.com/docs/api-reference/v1/voices/list.md) with `language_id` and [List Transcribers](https://dialnexa.com/docs/api-reference/v1/transcribers/list.md) before choosing compatible speech components.

For a single record, use [Get Language Details](https://dialnexa.com/docs/api-reference/v1/languages/get.md). Test a draft call with the chosen voice and transcriber before publishing.

## Errors

* `401 Unauthorized` is returned when the API key is missing or revoked.

## Related endpoints

* [Get Language Details](https://dialnexa.com/docs/api-reference/v1/languages/get.md): fetch a single language.
* [List Voices](https://dialnexa.com/docs/api-reference/v1/voices/list.md): browse voices filterable by language.
* [List Transcribers](https://dialnexa.com/docs/api-reference/v1/transcribers/list.md): pick a transcriber that supports the chosen language.
* [Multilingual and Hinglish calls](https://dialnexa.com/docs/voice-ai/multilingual-and-hinglish-calls.md): guidance for mixed-language deployments.


## OpenAPI

````yaml GET /v1/languages
openapi: 3.0.0
info:
  title: DialNexa API
  description: Public `/v1` REST API for the DialNexa voice AI platform.
  version: 1.0.0
servers:
  - url: https://api.dialnexa.com
    description: DialNexa production API
security:
  - bearer: []
tags:
  - name: Agents
  - name: Batch Calls
  - name: Calls
  - name: Knowledge Base
  - name: Languages
  - name: LLMs
  - name: Phone Numbers
  - name: Organization Folders
  - name: Transcribers
  - name: Webhooks
  - name: Voices
  - name: Workflows
  - name: Workflow Leads
  - name: Authentication
  - name: Agent Builder
  - name: Agent Evaluations
paths:
  /v1/languages:
    get:
      tags:
        - Languages
      summary: List Languages
      description: >-
        Returns the global language catalog as an array of id, code, and name.
        Check voices and transcribers separately for language compatibility.
      operationId: listLanguages
      parameters: []
      responses:
        '200':
          description: Languages returned successfully.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      example: lang_mfgsys4hhg8gdn
                      description: Signed language ID
                    code:
                      type: string
                      description: Short language code, for example en, hi or hi-en.
                      example: en
                    name:
                      type: string
                      example: English
                  required:
                    - id
              examples:
                success:
                  summary: Successful response
                  value:
                    - id: lang_mfgsys4hhg8gdn
                      code: en
                      name: English
                    - id: lang_mfgsys4f62f0vb
                      code: hi
                      name: Hindi
        '401':
          description: Unauthorized - missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FilteredErrorResponse'
              examples:
                error:
                  summary: 401 Unauthorized
                  value:
                    message: >-
                      API key is missing or invalid. You can generate this by
                      logging in into dashboard
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FilteredErrorResponse'
              examples:
                error:
                  summary: 500 Internal Server Error
                  value:
                    message: An unexpected error occurred. Please try again later.
      security:
        - bearer: []
components:
  schemas:
    FilteredErrorResponse:
      type: object
      description: >-
        Error body on calls, batch calls, voices, languages and LLMs, which
        return only the message (and data for a coded refusal).
      properties:
        message:
          type: string
        data:
          type: object
          properties:
            code:
              type: string
              description: Machine-readable refusal code.
          description: >-
            Present for a coded refusal: code and the details listed for that
            code.
        validation_errors:
          type: array
          description: >-
            Present when uploaded rows fail number validation (batch and
            workflow lead uploads): one group per distinct error.
          items:
            type: object
            properties:
              error:
                type: string
              rows:
                type: array
                items:
                  type: integer
                description: Row numbers with this error.
              phone_numbers:
                type: array
                items:
                  type: string
        invalid_row_count:
          type: integer
          description: 'Present with validation_errors: how many rows failed.'
      required:
        - message
  securitySchemes:
    bearer:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.