Skip to content

Create Brand Profile

POST
/api/v1/workspaces/{workspace_id}/email_design_systems/{emailDesignSystemId}/brand_profiles

Creates a new brand profile.

workspace_id
required
integer

Workspace ID

emailDesignSystemId
required
integer

Email Design System ID

object
name
required
string
component_overrides
required
Array<object>
object
component_id
required
integer
Example
1
hidden
required
boolean
field_overrides
required
Array<object>
object
liquid_variable
required
string
Example
headline
default_value
One of:
string
Example
Hello, world!
hidden_in_editor
boolean
hidden_from_ai
boolean
label
string
Example
Headline
design_tokens
object
key
additional properties
any
Example
{
"primary_button_color": "#007bff",
"secondary_button_color": "#6c757d"
}
custom_styles
Array<object>
object
style
required
string
Example
background-color: yellow; font-weight: bold;
name
required
string
Example
highlight
label
required
string
Example
Highlight

Successful

object
id
required
integer
Example
1
name
required
string
Example
My Brand
component_overrides
required
Array<object>
object
component_id
required
integer
Example
1
hidden
required
boolean
field_overrides
required
Array<object>
object
liquid_variable
required
string
Example
headline
default_value
One of:
string
Example
Hello, world!
hidden_in_editor
boolean
hidden_from_ai
boolean
label
string
Example
Headline
design_tokens
required
object
key
additional properties
any
Example
{
"primary_button_color": "#007bff",
"secondary_button_color": "#6c757d"
}
created_at
required
string format: date-time
Example
2021-01-01T00:00:00Z
updated_at
required
string format: date-time
Example
2021-01-01T00:00:00Z
email_design_system_id
required
integer
Example
1

Unauthorized

object
message
required
string
Example
Record not found

Forbidden

object
message
required
string
Example
Record not found

Not Found

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