---
title: "List SIMs with open data sessions"
method: GET
path: "/devices/opensessions"
tags: ["SIMs (Devices)"]
---

# List SIMs with open data sessions

`GET /devices/opensessions`

## Request

- Base URL: `https://dashboard.hologram.io/api/1`
- URL: `https://dashboard.hologram.io/api/1/devices/opensessions`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/hologram/apis/hologram-rest-api-v1/docs/devices/opensessions/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of device IDs that currently have an open cellular data session.

## Query parameters

- `orgid` integer

## Response `200`

OK

- GetDevicesWithOpenSessionsResponse
  - `success` boolean: Indicates whether the request was successful.
  - `data` object
    - `deviceids` integer[]: All device IDs with open sessions
    - `activeDeviceIds` integer[]: Device IDs in LIVE state with open sessions
    - `preflightDeviceIds` integer[]: Device IDs in Test Mode with open sessions

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/hologram/apis/hologram-rest-api-v1.md) - [All operations](https://skmtc.dev/hologram/apis/hologram-rest-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/hologram/apis/hologram-rest-api-v1/revisions/1bc07dcd1631?raw)
