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

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

multipart/form-data
filefilerequired#
Master JSON file with locale as filename (e.g., en_US.json)

Responses

application/json
200
Master translations uploaded 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: