E-mail layouts
The HTML frame (header, footer, branding) wrapped around the text of the rule's e-mails. The html_body must contain the {{content}} placeholder, where the message goes.
| Command | HTTP | Description |
|---|---|---|
email-layouts list | GET /v1/email-layouts | List email layouts |
email-layouts create | POST /v1/email-layouts | Create email layout |
Examples​
--params carries query, path and header parameters (id, page, filters, X-Workspace-Id); --json carries the request body; --fields limits which fields come back — worth using on every list/get to save context. See Global flags for the full reference.
# List layouts
kobana dunning email-layouts list
# Create a default layout
kobana dunning email-layouts create \
--json '{"name": "Layout institucional", "html_body": "<html><body><header>ACME</header>{{content}}</body></html>", "is_default": true}'
Next steps​
- Agreements
- Schema introspection — every parameter this resource accepts.