---
title: "EmailTemplates.get"
method: GET
path: "/entities/EmailTemplates/{id}"
tags: ["Email"]
---

# EmailTemplates.get

`GET /entities/EmailTemplates/{id}`

Returns EmailTemplate with given id

## Path parameters

- `id` string, uuid, required

## Response `200`

EmailTemplate data

- object
  - `success` boolean — True when response succeeded, false on error.
  - `data` EmailTemplate
    - `is_delete_protected` boolean, required — Tells if the entity instance is protected against delete (Entities that need to be present in the system at any time). Delete action still may fail if entity is deletable, due some other additional validations.
    - `id` string, uuid, required — Unique identifier of entity.
    - `is_deleted` boolean — Specifies if the entity is considered deleted.
    - `modified` string, date-time — Last modification time.
    - `created` string, date-time — Creation time.
    - `email_template_folder` string, uri — Folder in the template hierarchy that the template belongs to. Empty for templates at the root level. Relation to EmailTemplateFolder. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'EmailTemplateFolder' object for properties.
    - `owner` string, uri, required — User who owns the template. Relation to Client. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'Client' object for properties.
    - `body` string — HTML body of the template. May use merge-field placeholders that are filled with record values when the template is composed.
    - `email_template_folder_id` string, uuid — Id of the folder.
    - `name` string, required — Name of the entity and its default text representation.
    - `owner_id` string, uuid, required — Id of the template owner.
    - `recent_colors` object — List of integers.
    - `share_mode` 0 | 1 | 2 | 3 — Sharing model for the template (e.g. shared with selected sales units, selected users, or open for editing by all). Integer enum value: 0 - Standard, 1 - Private, 2 - AllView, 3 - AllEdit
    - `sharing_url_is_enabled` boolean — When true, the template's public sharing URL is active and accessible. Setting to false invalidates outstanding sharing URLs.
    - `sharing_url_settings` object — Public sharing-link configuration: resolved URL plus optional personalisation context (entity type, entity id) used to pre-fill merge fields. Empty when no sharing link is configured.
    - `subject` string, required — Subject line of emails composed from this template. Supports merge-field placeholders.
    - `type` 0 | 1 | 2, required — Template format (e.g. HtmlTemplate, PlainTextTemplate). Integer enum value: 0 - TextTemplate, 1 - HtmlTemplate, 2 - WysiwygTemplate
    - `revision` integer — Revision when entity was lastly changed.
    - `sharing_units` string[] — Sales units granted shared access to this template (custom share mode).
    - `sharing_clients` string[] — Users granted shared access to this template (custom share mode).
    - `documents` string[] — Files attached to the template (used as default attachments).

## Other responses

- `404` — Sent when invalid ID is given
- `500` — unexpected error

---

[API](https://skmtc.net/aws/apis/pipeliner-cloud-api.md) · [All operations](https://skmtc.net/aws/apis/pipeliner-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/pipeliner-cloud-api/versions/e8c12ae60aca/schema)
