Skip to main content
POST
Translate workspace text

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Body

application/json

Validated request fields for this operation.

text
string
required

Source text. Cache identity strips HTML, normalizes whitespace and lowercases the text.

Example:

"Thank you for your support."

language
string
required

Requested target language, lowercased before cache lookup.

Example:

"French"

Response

Operation result.

translation
string

Cached or newly generated translation.

Example:

"Merci pour votre soutien."

cached
boolean

Whether the translation came from the organization cache.

Example:

false