> ## 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.

# Get Voice Details

> Fetch one voice catalog entry by ID.

Read only
Get voice details for a voice visible to the authenticated workspace. API-key responses contain `id`, `name`, `gender`, `provider`, and `accent`; they do not include a preview URL or model configuration.

## When To Get Voice Details

* **Voice picker UIs**: render the selected voice with its name and provider badge when editing an agent.
* **Agent configuration validation**: confirm the saved voice still exists and supports the language the agent is set to before publishing changes.
* **Migration tooling**: when a provider deprecates a voice, look up replacements by language and gender.

For the full catalogue, use [List Voices](https://dialnexa.com/docs/api-reference/v1/voices/list.md). The catalogue is paginated and supports filtering by language.

## Path parameters

| Parameter | Description |
| - | - |
| `id` | The voice ID, for example `voice_mfgt2k9x4q7w1z`. |

## Errors

* `404 Not Found` is returned when the voice does not exist, is unavailable, or is not visible to this workspace.
* `401 Unauthorized` is returned when the API key is missing or revoked.

## Related endpoints

* [List Voices](https://dialnexa.com/docs/api-reference/v1/voices/list.md): search and filter all available voices.
* [List Accents](https://dialnexa.com/docs/api-reference/v1/voices/accents.md): see available accent options across voices.
* [Text-to-speech and voices](https://dialnexa.com/docs/voice-ai/text-to-speech-and-voices.md): guidance on choosing a voice.


## OpenAPI

````yaml GET /v1/voices/{id}
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/voices/{id}:
    get:
      tags:
        - Voices
      summary: Get Voice Details
      description: Returns one voice catalog record by ID.
      operationId: getVoice
      parameters:
        - name: id
          required: true
          in: path
          description: Voice ID
          schema:
            example: voice_mfgt2k9x4q7w1z
            type: string
      responses:
        '200':
          description: Voice returned successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  gender:
                    type: string
                  provider:
                    type: string
                  accent:
                    type: string
                    nullable: true
              examples:
                success:
                  summary: Successful response
                  value:
                    id: voice_mfgt2k9x4q7w1z
                    name: Aditi
                    gender: female
                    provider: elevenlabs
                    accent: indian
        '401':
          description: Unauthorized.
          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
        '404':
          description: Voice not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FilteredErrorResponse'
              examples:
                error:
                  summary: 404 Not Found
                  value:
                    message: Voice not found
                notSupported:
                  summary: Voice outside the supported voice models
                  value:
                    message: Voice with ID 2g7Xy3tY53gRlp not found or is deleted
        '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.