Workspace

Get the workspace language set

Returns the language set the workspace owns. Every product and tenant of the workspace may use a SUBSET of this set and never anything outside it, so this is the list a language picker must offer. An EMPTY array means the workspace has not chosen its languages yet — it is the blocking onboarding state, NOT "all languages". Accessible by super roles for any workspace, and by a Workspace Administrator of this one.

GET
/api/v2/workspaces/{id}/languages

Authorization

BearerAuthObject
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Workspace UUID

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/workspaces/019fc817-0b94-7112-a578-66500eeec781/languages"
{  "workspaceId": "ef0efa32-d1c1-43d4-a5e2-fe7b4f00403c",  "languageIds": [    1,    5,    12  ]}
{  "message": {    "error": "Your request was made with invalid credentials."  }}
{  "message": {    "error": "You are not allowed to perform this action."  }}
{  "message": {    "error": "Page not found"  }}
{  "message": {    "error": "Oops! Something went wrong! Write to administrator. Your Request Id {f1177aee-9a99-42f0-a23f-4dd29fc39b65-672e0df972ccb}"  }}