> ## Documentation Index
> Fetch the complete documentation index at: https://docs.outseta.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get an email template, layout or system email, with its Body and Design.

> Body is the HTML of the email; Subject and Body may use Liquid tokens such as
{{ Person.FirstName }}. AvailableTokens lists the tokens Outseta fills in for a system
email, and RequiredTokens the ones its Body must keep (for example ConfirmationUrl in the
registration confirmation).
            
Design is the drag-and-drop editor's design of the template as JSON, or null for a
template that is plain HTML. System emails have no Design.
            
A system email the account never edited returns its default content under its int_ Uid
from the list endpoint.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/templates/{templateUid}
openapi: 3.0.0
info:
  title: Outseta API
  description: >-
    Outseta REST API. See the [API
    overview](https://docs.outseta.com/api-reference/overview) for
    authentication, field selection, pagination, filtering, errors, rate limits
    and webhooks.
  version: v1
servers:
  - url: https://{subdomain}.outseta.com
    description: Your Outseta account
    variables:
      subdomain:
        default: your-subdomain
        description: >-
          Your Outseta account subdomain — the part before ".outseta.com" in
          your admin URL.
security: []
paths:
  /api/v1/templates/{templateUid}:
    get:
      tags:
        - Template
      summary: Get an email template, layout or system email, with its Body and Design.
      description: >-
        Body is the HTML of the email; Subject and Body may use Liquid tokens
        such as

        {{ Person.FirstName }}. AvailableTokens lists the tokens Outseta fills
        in for a system

        email, and RequiredTokens the ones its Body must keep (for example
        ConfirmationUrl in the

        registration confirmation).
                    
        Design is the drag-and-drop editor's design of the template as JSON, or
        null for a

        template that is plain HTML. System emails have no Design.
                    
        A system email the account never edited returns its default content
        under its int_ Uid

        from the list endpoint.
      operationId: Template_GetTemplate
      parameters:
        - name: templateUid
          in: path
          required: true
          description: The Uid of the template, as returned by the list endpoint.
          schema:
            type: string
            nullable: true
          x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Template'
        '400':
          description: Invalid Uid format
        '401':
          description: Unauthorized
        '404':
          description: Template not found
      security:
        - Bearer: []
        - ApiKey: []
components:
  schemas:
    Template:
      example:
        Uid: string
        _objectType: string
        Created: string
        Updated: string
        ActivityEventData: {}
        Name: string
        Subject: string
        Body: string
        Design: string
        Description: string
        SystemName: string
        IsInternal: false
        AvailableTokens: string
        RequiredTokens: string
        Tag: string
      allOf:
        - $ref: '#/components/schemas/AbstractQcountBean'
        - type: object
          additionalProperties: false
          required:
            - Name
            - Body
          properties:
            Name:
              type: string
              maxLength: 250
              minLength: 1
            Subject:
              type: string
              maxLength: 1000
              nullable: true
            Body:
              type: string
              minLength: 1
            Design:
              type: string
              nullable: true
            Description:
              type: string
              maxLength: 1000
              nullable: true
            SystemName:
              type: string
              maxLength: 50
              nullable: true
            IsInternal:
              type: boolean
            AvailableTokens:
              type: string
              nullable: true
            RequiredTokens:
              type: string
              nullable: true
            Tag:
              type: string
              nullable: true
    AbstractQcountBean:
      allOf:
        - $ref: '#/components/schemas/AbstractBean'
        - type: object
          additionalProperties: false
          required:
            - Qcount_Id
          properties:
            ActivityEventData:
              nullable: true
    AbstractBean:
      type: object
      x-abstract: true
      additionalProperties: false
      required:
        - Id
        - Created
        - CreatedByUser_Id
        - Updated
        - UpdatedByUser_Id
      properties:
        Uid:
          type: string
          maxLength: 10
          nullable: true
        _objectType:
          type: string
          nullable: true
        Created:
          type: string
          readOnly: true
          format: date-time
          minLength: 1
        Updated:
          type: string
          readOnly: true
          format: date-time
          minLength: 1
  securitySchemes:
    Bearer:
      type: http
      description: Enter your access token (OAuth / JWT).
      scheme: bearer
      bearerFormat: JWT
    ApiKey:
      type: apiKey
      description: 'Enter: Outseta {api_key}:{api_secret}'
      name: Authorization
      in: header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.