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

# List DTT templates

> Returns all Deepthroat Trainer training program templates you have access to. Does not include segment details.



## OpenAPI

````yaml https://dashboard.researchanddesire.com/openapi.yaml get /dtt/templates
openapi: 3.1.0
info:
  title: Research And Desire API
  description: >
    The Research And Desire API provides programmatic access to your devices and
    data.


    All responses follow a standard envelope format:

    - Success: `{ "ok": true, "data": <result> }`

    - Error: `{ "ok": false, "error": "<message>" }`


    ## Pagination


    List endpoints support pagination via query parameters:

    - `limit`: Number of records to return (default: 50, max: 100)

    - `offset`: Number of records to skip (default: 0)


    Paginated responses include pagination metadata alongside the data array.


    ## Authentication


    All endpoints require a Bearer token in the Authorization header.

    Tokens can be created in the Dashboard settings (requires Ultra
    subscription).
  version: 1.0.0
  contact:
    name: Research And Desire Support
    url: https://www.researchanddesire.com/support
servers:
  - url: https://dashboard.researchanddesire.com/api/v1
    description: Production API
security:
  - bearerAuth: []
tags:
  - name: Users
    description: User account information
  - name: DTT
    description: Deepthroat Trainer devices
  - name: DTT Templates
    description: Deepthroat Trainer training program templates
  - name: DTT Sessions
    description: Deepthroat Trainer training session history
  - name: LKBX
    description: Chastity Lockbox devices
  - name: Lock Templates
    description: Lock templates
  - name: Lock Sessions
    description: Lock session management
  - name: OSSM
    description: Open Source Sex Machine devices
paths:
  /dtt/templates:
    get:
      tags:
        - DTT Templates
      summary: List DTT templates
      description: >-
        Returns all Deepthroat Trainer training program templates you have
        access to. Does not include segment details.
      operationId: listDttTemplates
      parameters:
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Offset'
      responses:
        '200':
          description: List of DTT templates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DttTemplateListResponse'
              example:
                ok: true
                data:
                  data:
                    - id: 1
                      bubbleId: prog-001
                      ownerId: 42
                      name: Beginner Program
                      description: A gentle introduction
                      tagline: Start here
                      message: Welcome!
                      isPublic: true
                      isActive: true
                      handsFreeMode: false
                      targetDepth: 50
                      targetWindow: 10
                      toyId: null
                      createdDate: '2025-06-01T10:00:00Z'
                      updatedAt: '2026-02-01T15:00:00Z'
                  pagination:
                    limit: 50
                    offset: 0
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    Limit:
      name: limit
      in: query
      required: false
      description: Number of records to return (default 50, max 100)
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 50
        example: 50
    Offset:
      name: offset
      in: query
      required: false
      description: Number of records to skip (default 0)
      schema:
        type: integer
        minimum: 0
        default: 0
        example: 0
  schemas:
    DttTemplateListResponse:
      type: object
      required:
        - ok
        - data
      properties:
        ok:
          type: boolean
          const: true
        data:
          type: object
          required:
            - data
            - pagination
          properties:
            data:
              type: array
              items:
                $ref: '#/components/schemas/DttTemplateSummary'
            pagination:
              $ref: '#/components/schemas/Pagination'
    DttTemplateSummary:
      type: object
      properties:
        id:
          type: integer
          description: Template ID
        bubbleId:
          type: string
          description: Unique public identifier
        ownerId:
          type: integer
          description: Owner user ID
        name:
          type: string
          description: Program name
        description:
          type: string
          description: Program description
        tagline:
          type: string
          description: Short tagline
        message:
          type: string
          description: Welcome message
        isPublic:
          type: boolean
          description: Whether publicly visible
        isActive:
          type: boolean
          description: Whether currently active
        handsFreeMode:
          type: boolean
          description: Hands-free mode enabled
        targetDepth:
          type: integer
          description: Target depth percentage
        targetWindow:
          type: integer
          description: Target window size
        toyId:
          type: integer
          nullable: true
          description: Associated toy ID
        createdDate:
          type: string
          format: date-time
          description: Creation date
        updatedAt:
          type: string
          format: date-time
          description: Last update time
    Pagination:
      type: object
      required:
        - limit
        - offset
      properties:
        limit:
          type: integer
          description: Number of records returned
          example: 50
        offset:
          type: integer
          description: Number of records skipped
          example: 0
    ErrorResponse:
      type: object
      required:
        - ok
        - error
      properties:
        ok:
          type: boolean
          const: false
        error:
          type: string
  responses:
    Unauthorized:
      description: Authentication required or token invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            ok: false
            error: Unauthorized
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            ok: false
            error: Internal server error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: |
        API tokens can be created in the Dashboard settings.
        Requires an Ultra subscription.

````