Upload translation files
Upload one or more JSON translation files for a specific workflow. Files name must match the locale, e.g. en_US.json. Supports both “files” and “files[]” field names for backwards compatibility.
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"]