Skip to main content
GET
/
v1
/
{workspace}
/
preference_category
/
translation
/
locale
List Translation
curl -X GET "https://management-api.suprsend.com/v1/{workspace}/preference_category/translation/locale/" \
  --header "Authorization: ServiceToken {token}" \
  --header "Content-Type: application/json"
{
  "results": [
    {
      "locale": "en"
    },
    {
      "locale": "en-NA"
    },
    {
      "locale": "es"
    },
    {
      "locale": "es-AR"
    },
    {
      "locale": "es-BO"
    }
  ]
}

Authorizations

ServiceToken <token>
string
header
required

You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.

Path Parameters

workspace
string
required

Workspace slug (staging, production, etc.)

Response

Successfully retrieved list of translation locales

results
object[]

Array of locale objects for which translations are available