Skip to main content

template

Retrieve detailed information about a specific message template.

Returns comprehensive template data including content, localization, configuration, and metadata for template management and message rendering operations.

Possible errors:

  • TEMPLATE_NOT_FOUND: Template with specified ID does not existAUTH: Role=[configuration.OWNER,configuration.EDITOR,configuration.VIEWER]
template(
id: String!
): IBaseTemplate!

Arguments​

template.id ● String! non-null scalar​

Unique identifier for the template.

UUID that uniquely identifies the template in the system, used for retrieving specific template data and configuration.

Type​

IBaseTemplate interface​

Base interface for all message templates in the system.

Defines common properties and functionality shared between email templates and document templates, including content management, localization, data integration, and metadata tracking.