API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · email_layouts

Email Layout Schema

Schema ID
email_layout
Collection
email_layouts
Permissions
  • Reademail_template_view
  • Createemail_template_edit
  • Editemail_template_edit
  • Deleteemail_template_edit

Fields

Email Layout Schema

email_layouts4 permissions
modestringrequired
builderhtml
customHtmlstringoptional
max 200000 charactersnullable
builderConfigobjectoptional
nullable
designstringoptional
papercard
pageBackgroundstringoptional
max 40 characters
pagePaddingYnumberoptional
fontFamilystringoptional
max 200 characters
headerEnabledbooleanoptional
headerBackgroundstringoptional
max 40 characters
headerTextColorstringoptional
max 40 characters
headerAlignstringoptional
leftcenter
headerPaddingYnumberoptional
logoHeightnumberoptional
logoVariantstringoptional
darklight
headerAccentBarbooleanoptional
cardWidthnumberoptional
cardBackgroundstringoptional
max 40 characters
cardRadiusnumberoptional
cardBorderColorstringoptional
max 40 charactersnullable
cardShadowbooleanoptional
contentPaddingXnumberoptional
contentPaddingYnumberoptional
headingColorstringoptional
max 40 characters
headingSizenumberoptional
textColorstringoptional
max 40 characters
textSizenumberoptional
mutedColorstringoptional
max 40 characters
buttonRadiusnumberoptional
buttonTextColorstringoptional
max 40 characters
buttonFullWidthbooleanoptional
buttonBackgroundstringoptional
max 40 charactersnullable
footerEnabledbooleanoptional
footerBackgroundstringoptional
max 40 characters
footerAlignstringoptional
leftcenter
showCopyrightbooleanoptional
showPoweredBybooleanoptional

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/email_layouts — List, paginated + filterable
  • GET /api/v1/email_layouts/<id> — Single entity
  • POST /api/v1/email_layouts — Create
  • PATCH /api/v1/email_layouts/<id> — Partial update
  • DELETE /api/v1/email_layouts/<id> — Soft delete
  • GET /api/v1/email_layouts/<id>/timeline — Audit + activities

Search