Skip to main content
GET
/
v1
/
{workspace}
/
preference_category
/
translation
/
content
/
{locale}
Get Translation
curl -X GET "https://management-api.suprsend.com/v1/{workspace}/preference_category/translation/content/{locale}/" \
  --header "Authorization: ServiceToken {token}" \
  --header "Content-Type: application/json"
{
  "sections": {
    "new-5": {
      "name": "nouveau 5",
      "description": null
    },
    "nik-section-for-transactional": {
      "name": "Section Nik pour transactionnel",
      "description": "Description de la section Nik pour transactionnel"
    }
  },
  "categories": {
    "nik-sub-category": {
      "name": "Sous-catégorie Nik",
      "description": "Sous-catégorie Nik 1"
    },
    "amount-refunded": {
      "name": "Montant remboursé",
      "description": null
    }
  }
}

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.)

locale
string
required

Locale code (e.g., es, fr, de, ja)

Response

Successfully retrieved translation content

sections
object

Translations for sections, keyed by section slug

categories
object

Translations for categories, keyed by category slug