---
title: "Get OSSM device by ID"
method: GET
path: "/ossm/{id}"
tags: ["OSSM"]
---

# Get OSSM device by ID

`GET /ossm/{id}`

## Request

- Base URL: `https://dashboard.researchanddesire.com/api/v1`
- URL: `https://dashboard.researchanddesire.com/api/v1/ossm/{id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `/oauth/authorize`
    - Token URL: `/oauth/token` scopes: `ossm:read`

Returns detailed information about a specific Open Source Sex Machine device.

## Path parameters

- `id` integer, required

## Response `200`

OSSM device details

- OssmDeviceDetailResponse
  - `ok` true, required
  - `data` OssmDevice, required
    - `id` integer: Device ID
    - `bubbleId` string: Unique public identifier
    - `macAddress` string: Device MAC address
    - `chip` string: Chip type (e.g., ESP32-S3)
    - `ownerId` integer: Owner user ID
    - `pairingCode` string: Current pairing code
    - `pairingExpires` string, date-time: Pairing code expiration
    - `lastVisited` string, date-time: Last connection time
    - `OSSMFirmwareId` integer: Current firmware version ID

## Other responses

- `400`: Invalid request parameters
- `401`: Authentication required or token invalid
- `404`: OSSM device not found

## Changes

- **2026-09-22** `2411203b3c10`: 2 info
  - the endpoint scheme security `bearerAuth` was added to the API
  - the endpoint scheme security `oauth2` was added to the API

[Operation history](https://skmtc.dev/researchanddesire/apis/research-and-desire-api/changes/ossm/:id/get.md)

---

[API](https://skmtc.dev/researchanddesire/apis/research-and-desire-api.md) - [All operations](https://skmtc.dev/researchanddesire/apis/research-and-desire-api/llms.txt) - [OpenAPI document](https://skmtc.dev/researchanddesire/apis/research-and-desire-api/revisions/682fc4d7f6d5?raw)
