> ## 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.

# Get lockbox device by ID

> Returns detailed information about a specific Chastity Lockbox device.



## OpenAPI

````yaml https://dashboard.researchanddesire.com/openapi.yaml get /lkbx/{id}
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/{id}:
    get:
      tags:
        - LKBX
      summary: Get lockbox device by ID
      description: Returns detailed information about a specific Chastity Lockbox device.
      operationId: getLkbxDevice
      parameters:
        - $ref: '#/components/parameters/LkbxDeviceId'
      responses:
        '200':
          description: Lockbox device details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LkbxDeviceDetailResponse'
              example:
                ok: true
                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'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Lockbox device not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                ok: false
                error: LKBX device not found
components:
  parameters:
    LkbxDeviceId:
      name: id
      in: path
      required: true
      description: The lockbox device ID
      schema:
        type: integer
        minimum: 1
        example: 1
  schemas:
    LkbxDeviceDetailResponse:
      type: object
      required:
        - ok
        - data
      properties:
        ok:
          type: boolean
          const: true
        data:
          $ref: '#/components/schemas/LkbxDevice'
    ErrorResponse:
      type: object
      required:
        - ok
        - error
      properties:
        ok:
          type: boolean
          const: false
        error:
          type: string
    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
  responses:
    BadRequest:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            ok: false
            error: Invalid ID
    Unauthorized:
      description: Authentication required or token invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            ok: false
            error: Unauthorized
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: |
        API tokens can be created in the Dashboard settings.
        Requires an Ultra subscription.

````