profound-logoProfound CMS
⌘K
Admin
Theme
DocsTutorialBlogPhilosophy
DocsTutorialBlogPhilosophy

Hybrid

Collection of Pages with ComponentsTypes of ComponentsSetup server sent events (SSE) content refetchInstall Profound CMS as a proxyCEL Scripting in Template BuilderProject ScaffoldingMedia Library

Headless

Quick startSplit Screen JSON Component Builder with LLMComponent Zod Pull

REST API

REST API OverviewgetConnect your websitegetGET /routesgetGET /routegetGET /blocksgetGET /blocks/with-cel-cachegetGET /blocks/generatedgetGET /componentsgetGET /components/{name}getGET /dataset/{schema_name}getGET /content-changes (SSE)patchPATCH /dataset/{schema_name}postPOST /translationpatchPATCH /translationsgetGET /usagepostPOST /csvpatchPATCH /csv
All Systems Operational
Powered Byprofound-logo
Theme

PATCH /translations

Manually replace the stored content of a single existing translation.

Manually replace the stored content of a single existing translation β€” used when the auto-generated output needs a fix.

Auth: Bearer JWT (WorkOS).

Request body

{
  "document_id": "<uuid>",
  "language": "fr",
  "content": { "title": "Bonjour", "body": "..." }
}
FieldTypeRequiredNotes
document_iduuidyesThe translated document.
languagestringyesLocale of the translation row to update.
contentobjectyesNew translation content. Must be a JSON object.

Response

{ "document_id": "...", "language": "fr", "updated": true }

Note: this does not update the translation's source_hash, so a later POST /translation may treat the source as unchanged and keep your manual edit in place.

Example

curl -X PATCH '{CMS_API_URL}/translations' \
  -H 'Authorization: Bearer <workos-jwt>' \
  -H 'Content-Type: application/json' \
  -d '{"document_id":"<uuid>","language":"fr","content":{}}'

Errors

  • 400 β€” content is not a JSON object
  • 401 β€” missing or invalid JWT
  • 404 β€” no translation row for document_id + language
Continue Reading
Previousβ€ΉPOST /translationNextGET /usageβ€Ί