Skip to main content
POST
TypeScript

Authorizations

Authorization
string
header
required

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

Headers

idempotency-key
string

A header for idempotency purposes

Body

multipart/form-data
file
file
required

Master JSON file with locale as filename (e.g., en_US.json)

Response

200 - application/json

Master translations uploaded successfully

success
boolean
required

Overall success status of the import operation

Example:

true

message
string
required

Human-readable message describing the import result

Example:

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

successful
string[]

List of resource IDs that were successfully imported

Example:
failed
string[]

List of resource IDs that failed to import

Example: