> ## 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 lockbox devices

> Returns all Chastity Lockbox devices registered to your account, ordered by most recently visited.



## OpenAPI

````yaml https://dashboard.researchanddesire.com/openapi.yaml get /lkbx
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:
  /lkbx:
    get:
      tags:
        - LKBX
      summary: List lockbox devices
      description: >-
        Returns all Chastity Lockbox devices registered to your account, ordered
        by most recently visited.
      operationId: listLkbxDevices
      parameters:
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Offset'
      responses:
        '200':
          description: List of lockbox devices
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LkbxDeviceListResponse'
              example:
                ok: true
                data:
                  data:
                    - id: 1
                      bubbleId: lkbx-001
                      macAddress: '11:22:33:44:55:66'
                      ownerId: 42
                      locked: true
                      hueShift: 0
                      lastVisited: '2026-02-18T12:00:00Z'
                      lastLogAt: '2026-02-18T11:30: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:
    LkbxDeviceListResponse:
      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/LkbxDevice'
            pagination:
              $ref: '#/components/schemas/Pagination'
    LkbxDevice:
      type: object
      properties:
        id:
          type: integer
          description: Device ID
        bubbleId:
          type: string
          description: Unique public identifier
        macAddress:
          type: string
          description: Device MAC address
        ownerId:
          type: integer
          description: Owner user ID
        locked:
          type: boolean
          description: Current lock state
        hueShift:
          type: integer
          description: LED color hue shift
        lastVisited:
          type: string
          format: date-time
          description: Last connection time
        lastLogAt:
          type: string
          format: date-time
          description: Last log entry 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.

````