Langauge List API

API to retrieve the full list of languages, both public and private, available to a user.

Convai's Language List API endpoint

GET https://api.convai.com/tts/get_available_languages

This endpoint is called to get the list of available languages for a user. The voice list includes information regarding all the public as well as user's private languages.

Request

The request body only required the following header field :

Headers

Field NameTypeValue / Description

CONVAI-API-KEY*

String

Your Convai API Key.

Response

On success, the API will return a nested JSON object in the following format :

[
{
    "en-US": {
      "lang_code": "en-US",
      "lang_name": "English"
    }
  },
  {
    "es-ES": {
      "lang_code": "es-ES",
      "lang_name": "Spanish"
    }
  }, ...

]

Last updated