> ## 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.

# The email templates, layouts and system emails of the account.

> The list holds the templates from Email > Email templates (Tag template), the email
layouts (Tag layout), the broadcast wrapper (Tag wrapper), the saved support replies
(Tag savedReply) and the system emails Outseta sends, such as the registration
confirmation (Tag email). A system email has a SystemName, which never changes. Filter
with Tag=email or SystemName to find one.
            
Body and Design are left out to keep the list small, except that a system email the
account never edited carries its default Body. Read a template with the get endpoint to
see its Body and Design.
            
A system email the account never edited is not stored yet. It is listed with a Uid
that starts with int_, which can be used like any other Uid. Saving the system email
stores the account's own copy, which has a regular Uid from then on. An int_ Uid can
change when Outseta adds system emails, so keep the SystemName rather than the int_ Uid.
            
Internal system emails that accounts cannot change are not listed.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/templates
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:
    get:
      tags:
        - Template
      summary: The email templates, layouts and system emails of the account.
      description: >-
        The list holds the templates from Email > Email templates (Tag
        template), the email

        layouts (Tag layout), the broadcast wrapper (Tag wrapper), the saved
        support replies

        (Tag savedReply) and the system emails Outseta sends, such as the
        registration

        confirmation (Tag email). A system email has a SystemName, which never
        changes. Filter

        with Tag=email or SystemName to find one.
                    
        Body and Design are left out to keep the list small, except that a
        system email the

        account never edited carries its default Body. Read a template with the
        get endpoint to

        see its Body and Design.
                    
        A system email the account never edited is not stored yet. It is listed
        with a Uid

        that starts with int_, which can be used like any other Uid. Saving the
        system email

        stores the account's own copy, which has a regular Uid from then on. An
        int_ Uid can

        change when Outseta adds system emails, so keep the SystemName rather
        than the int_ Uid.
                    
        Internal system emails that accounts cannot change are not listed.
      operationId: Template_GetAllTemplates
      parameters:
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  metadata:
                    limit: 0
                    offset: 0
                    total: 0
                  items:
                    - 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
                properties:
                  metadata:
                    $ref: '#/components/schemas/CollectionMetadata'
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Template'
        '401':
          description: Unauthorized
      security:
        - Bearer: []
        - ApiKey: []
components:
  parameters:
    limit:
      name: limit
      in: query
      description: >-
        Requested page size. The server caps it at 100, or 25 when requested
        fields expand child objects or require additional queries;
        metadata.limit reports the applied value. Use offset=1 for the second
        page.
      schema:
        type: integer
        default: 25
    offset:
      name: offset
      in: query
      description: >-
        Zero-based page number, not a record offset. With limit=50, the second
        page is offset=1; offset=50 is page index 50 (records 2501-2550).
      schema:
        type: integer
        default: 0
  schemas:
    CollectionMetadata:
      type: object
      properties:
        limit:
          type: integer
        offset:
          type: integer
        total:
          type: integer
    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.