# Languages

These are the languages available platform-wide and can be used to enable specific languages on your account. Enabled languages on accounts mean that you can use them on knowledge base sites translations, etc.

These aren't the software's interface languages.

# The language object

  • id integer

    The system-generated ID of the language.

  • name string

    The name of the language.

  • native string

    The native name of the language. For example, for Spanish, the native name is Español.

  • code string

    The language code in the format of es-ES.

# The language object

{
  "id": 1,
  "name": "Spanish (PR)",
  "native": "Español (PR)",
  "code": "es-PR",
}

# List all languages

# Sample request

curl https://www.yourdomain.com/api/v1/languages \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access-token>" \
  -G

# Sample successful response

{
  "data": [
    {
        "id": 1,
        "name": "Spanish (PR)",
        "native": "Español (PR)",
        "code": "es-PR",
    },
    {...}
  ]
}