Skip to content

Validate Email Content

GET
/api/v1/workspaces/{workspace_id}/emails/{id}/validate_email_content

Validates the email content.

workspace_id
required
integer

Workspace ID

id
required
integer

Email ID

Successful

object
valid
required
boolean
validation_errors
required
object
key
additional properties
object
key
additional properties
Array<string>

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."
]
}
}