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

# Brand templates available to the connected account.



## OpenAPI

````yaml https://raw.githubusercontent.com/Dallas-Peters-Design-Co/photo-portfolio/main/openapi.json get /api/canva/templates
openapi: 3.1.0
info:
  description: >-
    Generated from the handlers in `api/` and the schemas in `schemas/`. Do not
    edit by hand — run `pnpm openapi`.
  title: Photo portfolio API
  version: 1.0.0
servers:
  - description: Local
    url: http://localhost:3006
  - description: Production
    url: https://app.dallaspeters.com
security: []
paths:
  /api/canva/templates:
    get:
      tags:
        - canva
      summary: Brand templates available to the connected account.
      operationId: get_api_canva_templates
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  templates:
                    type: array
                    items: {}
                required:
                  - templates
                additionalProperties: false
        '401':
          description: Missing or invalid token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        4XX:
          description: Request rejected
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        5XX:
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
      required:
        - error
      additionalProperties: false
      description: Every failing endpoint answers with this shape.
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

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