> ## 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 Voice Accents

> List unique accent values for voices.

Read only
Returns the distinct accent values across every non-deleted voice in the DialNexa catalog, optionally narrowed by `provider`. An accent describes how a voice sounds, for example an Indian, American or British English voice; it is a label, not a language code. The response is a root array of accent names, for example `indian`, `american` and `british`. Pass one of them as the `accent` filter on [List Voices](https://dialnexa.com/docs/api-reference/v1/voices/list.md).

## When to use this

* **Voice picker UIs**: render an accent filter alongside language and gender so prompt authors can find voices that match the listener's region.
* **Localization tooling**: pre-select the right accent when an agent is deployed in a specific country or region.
* **Brand consistency checks**: confirm an agent is using the accent your brand guidelines call for before publishing changes through [Update Agent](https://dialnexa.com/docs/api-reference/v1/agents/update.md).

The list is not scoped to your workspace and also counts voices that [List Voices](https://dialnexa.com/docs/api-reference/v1/voices/list.md) does not offer (speech-to-speech voices, other workspaces' private imports, and voices without a supported voice model), so an accent can return no voices there. The `accent` filter on List Voices accepts `indian`, `british`, `american`, `canadian`, `african`, `australian` and `swedish`; any other value returns `400`.

## Query parameters

| Parameter | Description |
| - | - |
| `provider` | One of `elevenlabs`, `smallestai`, `sarvam`, `cartesia`, `soniox`. Any other value fails with `500`. |

## Errors

* `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): find voices in a specific accent.
* [List Languages](https://dialnexa.com/docs/api-reference/v1/languages/list.md): list supported BCP-47 languages.
* [Text-to-speech and voices](https://dialnexa.com/docs/voice-ai/text-to-speech-and-voices.md): guidance on choosing voice and accent.
* [Multilingual and Hinglish calls](https://dialnexa.com/docs/voice-ai/multilingual-and-hinglish-calls.md): how accent and language settings interact on mixed-language calls.


## OpenAPI

````yaml GET /v1/voices/accents
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/accents:
    get:
      tags:
        - Voices
      summary: List Voice Accents
      description: >-
        Returns the distinct accent values across all non-deleted voices in the
        catalog, optionally filtered by provider. The list is not scoped to the
        workspace, so an accent can return no voices in List Voices.
      operationId: listVoiceAccents
      parameters:
        - name: provider
          required: false
          in: query
          schema:
            enum:
              - elevenlabs
              - smallestai
              - sarvam
              - cartesia
              - soniox
            type: string
          description: >-
            Voice provider to list accents for. A value outside the list fails
            with 500.
      responses:
        '200':
          description: Voice accents returned successfully.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
                  example: indian
              examples:
                success:
                  summary: Successful response
                  value:
                    - indian
                    - american
                    - british
        '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
        '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.