Skip to main content
PUT
/
translations
/
entries
/
{entryId}
Update a translatable entry
curl --request PUT \
  --url https://api.gleap.io/v3/translations/entries/{entryId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'project: <project>' \
  --data '
{
  "language": "<string>",
  "fields": {
    "title": "Getting Started",
    "description": "Learn the basics",
    "content": "<p>Welcome</p>"
  }
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Path Parameters

entryId
string
required

Body

application/json
language
string
required

The language code to set the translation for (e.g., "en", "de", "fr").

fields
any
required

Key-value pairs of translatable fields. Keys depend on the entity type (e.g., "title", "description", "content" for articles). Values are plain text or HTML strings depending on the field type.

Example:
{
"title": "Getting Started",
"description": "Learn the basics",
"content": "<p>Welcome</p>"
}

Response

200 - application/json

Ok