Translations
Retrieve a translation
Retrieve a translation using the Novu REST API. Requires your environment secret key in the Authorization header.
GET
PHP
Authorizations
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
Headers
A header for idempotency purposes
Path Parameters
Resource type
Available options:
workflow, layout Resource ID
Locale code
Response
Translation found
Resource identifier
Example:
"welcome-email"
Resource type
Available options:
workflow, layout Example:
"workflow"
Locale code
Example:
"en_US"
Translation content as JSON object
Example:
{
"welcome.title": "Welcome",
"welcome.message": "Hello there!"
}Creation timestamp
Example:
"2024-01-01T00:00:00.000Z"
Last update timestamp
Example:
"2024-01-01T00:00:00.000Z"