MAILT: Mail template
The MAILT entity stores mail template records in DemandFlow.
Default definition. This article describes the default
MAILT definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches MAILT.Entity properties
| Property | Value |
|---|---|
| Entity code | MAILT |
| Display name | Mail template |
| Plural | Mail templates |
| Level | 510 |
Use cases
General-purpose Mail template records.
Fields
Template
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Name |
description | text | Description | |
preview | text | Preview image URL |
Additional panels. This definition also includes the following non-form panels: jsoneditor (Design).
Relationships
- No declared relationships in the default definition.
Creating a Mail template via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "MAILT",
"level": 510,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Example",
"description": "Example",
"preview": "https://example.com"
}
Listing Mail templates records
# All mail templates in your tenant
GET /v1/entities/MAILT/SUB