Create Email Design System
POST /api/v1/workspaces/{workspace_id}/email_design_systems
POST
/api/v1/workspaces/{workspace_id}/email_design_systems
Creates a new 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
name
required
string
description
string
require_brand_profile_for_use
boolean
access_scope
required
string
design_tokens
object
key
additional properties
any
Example
{ "primary_button_color": "#007bff", "secondary_button_color": "#6c757d"}Responses
Section titled “ Responses ”Successful
object
id
required
integer
Example
12345 name
required
string
Example
My Email Design System description
string
Example
My Email Design System created_at
required
string format: date-time
Example
2023-08-23T10:30:00.000Z updated_at
string format: date-time
Example
2023-08-23T10:30:00.000Z organization_id
required
integer
Example
12345 workspace_id
required
integer
Example
12345 screenshot_url
required
string
Example
https://www.example.com/screenshot.png upload_status
required
string
Example
success create_with_ai
required
boolean
require_brand_profile_for_use
required
boolean
prompt
required
string
Example
I want an email design system with a header, a footer, and a content section. ai_generation_status
required
string
Example
generating archived
required
boolean
design_tokens
required
object
key
additional properties
any
Example
{ "primary_button_color": "#007bff", "secondary_button_color": "#6c757d"} access_scope
required
string
Example
all_workspaces custom_styles
required
Array<object>
object
style
required
string
Example
background-color: yellow; font-weight: bold; name
required
string
Example
highlight label
required
string
Example
HighlightUnauthorized
object
message
required
string
Example
Record not foundForbidden
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." ] }}