Docs
Translations

Save a translation

PUT/translationsNeedscontent.edit

Creates or updates one language's text. Omitted fields keep their value; null clears one. Goes to the working draft.

Authorization

secretKey
headerAuthorizationBearer <sk_…>

A secret API key from Settings → API keys. It acts with its creator's role.

Request Body

application/json
  1. body
contentType*string
Value in"tour""tour_step""tooltip""banner""checklist""checklist_item""announcement"
contentId*integer
Range0 < value <= 2147483647
languageCode*string
Value in"en""uk""pl""es""pt""de""ru""fr""it""ja""zh"
title?|null
body?|null
buttonText?|null

Response Body

OK

application/json
  1. response
translation*
Shell
curl -X PUT 'https://app.cueston.com/api/translations' \
  -H 'Content-Type: application/json' \
  -d '{
  "contentType": "tour",
  "contentId": 42,
  "languageCode": "en"
}'
Example Response
JSON
{
  "translation": {
    "id": 42,
    "contentType": "tour",
    "contentId": 42,
    "languageCode": "de",
    "title": "Welcome to Acme",
    "body": "Here's a quick look at where everything is.",
    "buttonText": "Next",
    "updatedAt": "2026-10-26T09:30:00Z"
  }
}