Translations
Create a translation
Create a translation for a specific workflow and locale, if the translation already exists, it will be updated
post/v2/translations
Request body
Example request
{
"resourceId": "welcome-email",
"locale": "en_US",
"content": {
"welcome.title": "Welcome",
"welcome.message": "Hello there!"
}
}Response
Translation created or updated successfully
Example response
{
"resourceId": "welcome-email",
"resourceType": "workflow",
"locale": "en_US",
"content": {
"welcome.title": "Welcome",
"welcome.message": "Hello there!"
},
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}