Retrieve All Voice Locales

GEThttps://api.konpro.ai/v1/voices/locales

This endpoint provides the complete list of supported voice locales, detailing language, region, display labels, and locale codes. Use this to determine which voice options are available for your project's language and regional needs.

Request History

Log in to see full request history

TIMESTATUSUSER AGENT
Make a request to see history.

0 Requests This Month

cURL Request

shell
curl --request GET \
--url https://api.konpro.ai/v1/voices/locales \
--header 'accept: application/json' \
--header 'x-api-key: <your-api-key>'

Response

Response Structure

Returns an array of locale objects. Each object includes specifics for country, language identifier, and optional tags for further categorization.

FieldTypeDescription
valuestringFull name of the locale (e.g., "Portuguese (Brazil)")
labelstringShort label for quick reference (e.g., "PT-BR")
languagestringAssociated spoken language (e.g., "Portuguese")
tagstringOptional tag or marker (null if not given)
localestringLocale identifier (e.g., "pt-BR")
language_codestringCombined language and region code (e.g., "pt-BR")

Sample Successful Response

json
{
  "data": {
    "locales": [
      {
        "value": "Portuguese (Brazil)",
        "label": "PT-BR",
        "language": "Portuguese",
        "tag": null,
        "locale": "pt-BR",
        "language_code": "pt-BR"
      }
    ]
  }
}

Usage Notes

  • Authentication with your API key is required.
  • Only locales supported by your KonPro account and selected voices will be shown.
  • Use the label and locale fields for configuring voice selection in video and audio generation.

Example Usage

Shell
curl --request GET \
--url https://api.konpro.ai/v1/voices/locales \
--header 'accept: application/json' \
--header 'x-api-key: <your-api-key>'

LANGUAGE

CREDENTIALS

HEADER

RESPONSE

Examples

Choose an example:

application/json
200 - Result
400 - Result