v2

latestOpenAPI 3.1.12026-07-2613060964.2 KB

Add or Update Category Translation

Add or update translation content for a given locale for preference categories and sections.

post/v1/{workspace}/preference_category/translation/content/{locale}/

Path parameters

workspacestring required

Workspace slug (staging, production, etc.)

localestring required

Locale code (e.g., es, fr, de, ja)

Request body

sectionsobject

Translations for sections, keyed by section slug

categoriesobject

Translations for categories, keyed by category slug

Response

Successfully added or updated translation

sectionsobject

Translations for sections, keyed by section slug

categoriesobject

Translations for categories, keyed by category slug