# The template object Templates store reusable content for emails, SMS, and printable pages. ## Attributes - `id` (integer) — Identifier assigned by the API. - `name` (string) — Template name, up to 100 characters. - `type` (string) — Use email, sms, or page. - `editor` (string) — Editor format, email or page. - `subject` (string or null) — Email subject, up to 140 characters. - `body_html` (string or null) — HTML content, optionally containing template variables. - `body_json` (map or array or null) — Structured template editor data. - `sms_text` (string or null) — Text used by an SMS template. - `style_css` (string or null) — CSS for a page template. Use null to clear it. - `metadata` (map or null) — Additional template information. - `editable` (boolean) — Whether you can change or remove the template. - `is_default` (boolean) — Whether the template is a workspace default. - `parent_id` (integer or null) — Source template ID, if copied. - `profile_print_enabled` (boolean) — Whether a page template appears in the profile print menu. - `tsc` (integer or null) — Creation time as Unix seconds. - `tsu` (integer or null) — Last update time as Unix seconds. ## Example Example with fictional data and selected fields. ```json { "id": 27, "name": "Practice reminder", "type": "email", "editor": "email", "subject": "Next practice", "body_html": "
Hello {first_name}, practice starts at 18:00.
", "style_css": null, "profile_print_enabled": false, "editable": true, "is_default": false, "parent_id": null } ```