Skip to main content
post/v2/translations/master-json
Request example
Response
post/v2/translations/master-json

Authorization

Authorizationstringheaderrequired#
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

1 alternative authorization method available — see the spec for details.

Headers

idempotency-keystring#
A header for idempotency purposes

Body

application/json
localestringrequired#
The locale for which translations are being imported

Example:"en_US"

masterJsonobjectrequired#
Master JSON object containing all translations organized by workflow identifier
Example:

Responses

application/json
200
Master translations imported successfully
successbooleanrequired#
Overall success status of the import operation

Example:true

messagestringrequired#
Human-readable message describing the import result

Example:"Successfully imported translations for 2 resources: welcome-email, password-reset"

successfulstring[]#
List of resource IDs that were successfully imported
Example:
failedstring[]#
List of resource IDs that failed to import
Example: