Create Component
POST /api/v1/workspaces/{workspace_id}/email_design_systems/{emailDesignSystemId}/components
Creates a new component.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Workspace ID
Email Design System ID
Request Body
Section titled “Request Body ”object
A unique identifier for the component (used in code/templates).
Example
hero_bannerThe human-readable display name of the component.
Example
Hero BannerThe Liquid HTML template for the component.
Example
<tr><td style="padding: 20px;"><h1>{{title}}</h1><p>{{description}}</p></td></tr>object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
object
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
Whether to skip link tracking for URLs in this field.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
object
object
object
object
object
Example
{ "bold": { "enabled": true }, "italic": { "enabled": true }, "link": { "enabled": true }, "bullet_list": { "enabled": true }, "numbered_list": { "enabled": true }}Names of custom rich text styles available for this field.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
The ID of the data feed to associate with this component. If null, no feed is linked.
Example
1Responses
Section titled “ Responses ”Successful
object
Example
MyComponentExample
My ComponentExample
A hero banner image with a headline and image, body text and a call to action button.Example
12345Example
2023-08-23T10:30:00.000ZExample
2023-08-23T10:30:00.000ZExample
<div>My Component</div>object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
object
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
Whether to skip link tracking for URLs in this field.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
object
object
object
object
object
Example
{ "bold": { "enabled": true }, "italic": { "enabled": true }, "link": { "enabled": true }, "bullet_list": { "enabled": true }, "numbered_list": { "enabled": true }}Names of custom rich text styles available for this field.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
object
An optional label used to group related fields together in the editor.
Example
StylingThe Liquid variable name used to reference this field in templates.
Example
heading_textA Liquid expression (without the surrounding {% %}) that determines when this field is visible in the editor.
Example
show_heading == trueobject
Helper text displayed below the field in the editor.
Example
Keep this short and punchyWhether this field is hidden from the editor UI.
Whether this field is hidden from AI Agents.
The name of the feed field that populates this field’s value. If null, this field is not populated from a feed.
Example
https://www.example.com/screenshot.pngExample
1object
Example
12345Example
JohnExample
SmithExample
https://example.com/profile.jpgExample
12345Unauthorized
object
Example
Record not foundForbidden
object
Example
Record not foundUnprocessable Entity
object
Example
Failed to saveobject
Example
{ "errors": { "username": [ "Username is required.", "Username must be unique." ], "email": [ "Invalid email format." ] }}