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

# Get Canvas Template

> Get a Canvas Template by id.



## OpenAPI

````yaml /openapi.json get /canvas-templates/{id}
openapi: 3.0.0
info:
  title: Trust Stack API
  description: Programmatic access to the Trust Stack API.
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /canvas-templates/{id}:
    get:
      tags:
        - Canvas Template
      summary: Get Canvas Template
      description: Get a Canvas Template by id.
      operationId: getCanvasTemplate
      parameters:
        - name: id
          required: true
          in: path
          description: The ID of the Canvas Template to find
          schema:
            example: '123'
      responses:
        '200':
          description: The Canvas Template was successfully obtained.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CanvasTemplate'
components:
  schemas:
    CanvasTemplate:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the canvas template
          example: 123e4567-e89b-12d3-a456-426614174000
        name:
          type: string
          description: The name of the template
          example: Welcome Email Template
        template:
          type: string
          description: The Handlebars template string
          example: <h1>Hello {{name}}!</h1>
        schema:
          type: object
          description: JSON schema defining the template variables
          example:
            type: object
            properties:
              name:
                type: string
        createdAt:
          format: date-time
          type: string
          description: When the template was created
          example: '2024-03-20T15:30:00.000Z'
        updatedAt:
          format: date-time
          type: string
          description: When the template was last updated
          example: '2024-03-20T15:30:00.000Z'
      required:
        - id
        - template
        - schema
        - createdAt
        - updatedAt

````