POST/
ImportantBefore uploading your translation files using the /translations endpoint, ensure that they are linguistically accurate and representative of the user experience.
translations object so that they will appear in the target language in the customer-facing UI. UX Toolkit uses key and value pairs to render the translations used in web components. Each key is an identifier used to reference a specific piece of content in a web component, while the value is the translated text string that replaces that key on the customer-facing UI. See the sample request body that follows for an example.
For a full list of keys, contact your Marqeta onboarding specialist.
See also the Using custom translation files section in the UX Toolkit Getting Started guide.
Request body
Sample request body
JSON
Sample response body
The only response for a call made to the/translations endpoint is 201 Successfully uploaded a translation.
JSON