CLIENT API / V1 CONTENT, BRIEFS & CAMPAIGNS

Request a translation of saved content

POST/sites/{site_id}/content/{content_id}/translationscontent:translate

Requires content:translate and a site grant. Uses the same translation worker as the editor. A repeat request reuses the active job or a current successful translation. Poll status_url with jobs:read. After success, fetch components for the returned locale using content:read.

RequestPOST https://satelliteai.io/api/v1/sites/{site_id}/content/{content_id}/translations
Permissioncontent:translate
ResponseA single object: data is object.
Operation IDrequestContentTranslation

More context and worked examples are in the developer guide.

Example request

cURL · Bash
curl --fail-with-body --request POST \
  'https://satelliteai.io/api/v1/sites/123/content/123/translations' \
  -H "Authorization: Bearer $SATELLITE_API_KEY"

Replace the example IDs with values returned by the discovery endpoints. Example values are placeholders, not real records.

Parameters

NameInTypeDescription
site_idrequiredpathinteger
min 1
content_idrequiredpathinteger
min 1

Unknown or repeated query parameters return 400.

JSON request body

Send Content-Type: application/json. The request body is required. Fields below describe the request; response fields follow separately.

JSON request fields
FieldTypeDescription
language_codestringrequired
example fr-FR

Data dictionary

Translation job recorded or reused. Poll for its outcome.

202: Translation job recorded or reused. Poll for its outcome.

[] marks an array element. nullable means the value can be null; treat it as unknown, not zero. always present means the key is always included in the object.

Fields in data
FieldTypeDescription
data.job_idstring
data.content_idinteger
data.language_codestring
data.localestring
example translation-123
data.status_urlstring
data.locales_urlstring

Response metadata

Fields in meta
FieldTypeDescription
meta.reusedboolean

Error responses

Errors return {"error": {"code", "message", "request_id"}}. See error handling for retry guidance.

HTTPWhen
400Missing or unsupported target language.
401Invalid managed key.
403Translation scope required.
404Content or site unavailable to the integration.