Upload translation files
Upload translation files using the Novu REST API. Requires your environment secret key in the Authorization header.
Authorizations
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
Headers
A header for idempotency purposes
Body
The resource ID to associate localizations with. Accepts identifier or slug format
"welcome-email"
The resource type to associate localizations with
workflow, layout One or more JSON translation files. Filenames must match locale format (e.g., en_US.json, fr_FR.json). Field name can be "files" or "files[]".
Response
Upload results
Total number of files processed
3
Number of files successfully uploaded
2
Number of files that failed to upload
1
List of error messages for failed uploads
["Invalid JSON in file: es-ES.json"]