GET/v2/projects/{projectId}/languages/{languageId}

Get a project language

Retrieves a language configured for a project. Use projectId and languageId to identify the language you need. The response includes the language's names, tag, base-language status, and optional flag emoji.

2 parameters
languageIdintegerrequired
The unique integer identifier of the language to retrieve.
projectIdintegerrequired
The unique integer identifier of the project containing the language.

5 status codes
200Returns the language's identifier, English and original names, tag, base-language status, and optional flag emoji.
basebooleanrequired
Whether is base language of project
flagEmojistringoptional
Language flag emoji as UTF-8 emoji
idintegerrequired
namestringrequired
Language name in english
originalNamestringoptional
Language name in this language
tagstringrequired
Language tag according to BCP 47 definition
400Returned when the request is invalid.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
403Returned when you do not have permission to access the language.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
404Returned when the project or language is not found.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional

Error handling

A 400 is returned when the request is invalid, a 401 when authentication is missing or invalid, a 403 when you lack permission, and a 404 when the project or language is not found. The languageId path parameter and projectId path parameter must identify a language and project.