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

# List templates

> Every template of the organisation, most recently changed first. Requires `read`.



## OpenAPI

````yaml /api-reference/openapi.yaml get /v1/templates
openapi: 3.1.0
info:
  title: Sendbaze API
  version: '1.0'
  description: >
    Transactional email and SMS for Africa. Send from your own domain through
    Amazon SES in Cape Town.

    Every send returns an id immediately; delivery is reported by webhook and in
    the dashboard logs.
  contact:
    name: Sendbaze support
    email: support@sendbaze.com
    url: https://www.sendbaze.com
servers:
  - url: https://api.sendbaze.com
security:
  - bearerAuth: []
tags:
  - name: Emails
  - name: Templates
  - name: Domains
  - name: Suppressions
  - name: Webhooks
  - name: SMS
  - name: Usage
paths:
  /v1/templates:
    get:
      tags:
        - Templates
      summary: List templates
      description: >-
        Every template of the organisation, most recently changed first.
        Requires `read`.
      operationId: listTemplates
      responses:
        '200':
          description: Templates
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Template'
components:
  schemas:
    Template:
      type: object
      required:
        - id
        - name
        - subject
        - html
        - text
        - variables
        - version
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
          example: tpl_01j9x7k2r4m8q3v5n6b7c8d9e0
        name:
          type: string
          example: order-shipped
        subject:
          type: string
        html:
          type:
            - string
            - 'null'
        text:
          type:
            - string
            - 'null'
        variables:
          type: array
          description: Placeholder names found in the subject, html and text.
          items:
            type: string
          example:
            - order_id
            - name
            - eta
        version:
          type: integer
          example: 1
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An API key from the dashboard. `sk_live_…` sends; `sk_test_…` validates
        and returns ids without sending.

````

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