Render
POST /api/v1/workspaces/{workspace_id}/renders
POST
/api/v1/workspaces/{workspace_id}/renders
Renders the selected components of an email design system
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” workspace_id
required
integer
Workspace ID
Request Body
Section titled “Request Body ”object
email_design_system_id
required
ID of the email design system
integer
brand_profile_id
ID of the brand profile
integer
content
required
object
subject
required
Subject of the email
string
preheader
required
Preheader of the email
string
container_component_instance
required
Responses
Section titled “ Responses ”Successful
object
html
HTML output of the rendered components
string
created_at
string format: date-time
Example
2023-08-23T10:30:00.000ZUnauthorized
object
message
required
string
Example
Record not foundForbidden
object
message
required
string
Example
Record not foundNot Found
object
message
required
string
Example
Record not foundUnprocessable 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." ] }}