Skip to content

Create Email Translation

POST
/api/v1/workspaces/{workspace_id}/emails/{id}/email_translations

Creates a new Email Translation.

workspace_id
required
integer

Workspace ID

id
required
integer

Email ID

object
target_locales
required
Array<string>

Successful

object
id
required
integer
Example
12345
email_id
required
integer
Example
12345
organization_id
integer
Example
12345
target_locales
required
Array<string>
status
required
string
Allowed values: in_progress completed failed
locale_statuses
required
object
key
additional properties
string
Allowed values: in_progress completed failed

Unauthorized

object
message
required
string
Example
Record not found

Forbidden

object
message
required
string
Example
Record not found

Unprocessable Entity

object
message
required
string
Example
Failed to save
errors
required
object
key
additional properties
Array<string>
Example
{
"errors": {
"username": [
"Username is required.",
"Username must be unique."
],
"email": [
"Invalid email format."
]
}
}