Skip to main content

API - Enumerate languages

Beebox uses ISO 2-letter language codes and English titles: About language codes in the Beebox.

This API method is helpful during development. When interacting with a Beebox project, be aware that you can only use the languages defined in that project.

To get the list of a project's languages, you would use API - Get project information instead.

URL

(GET) /api/utility/languages?token=

PARAMETERS

token

The session token obtained when connecting.

RESULTS

The method returns a JSON array of languages:

CODE
[
	{"v":"af","t":"Afrikaans"},
	{"v":"af-NA","t":"Afrikaans (Namibia)"},
	{"v":"af-ZA","t":"Afrikaans (South Africa)"},
	{"v":"ak","t":"Akan"},
	{"v":"ak-Fant","t":"Akan (Fante)"},
	{"v":"ak-Fant-GH","t":"Akan (Fante, Ghana)"},
	{"v":"sq","t":"Albanian"},
	...
]

 

An HTTP status of 200 indicates success. Other HTTP status values indicate an error.

 

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.