---
title: "List the sessions associated to the authenticated user."
method: GET
path: "/auth/sessions"
tags: ["auth"]
---

# List the sessions associated to the authenticated user.

`GET /auth/sessions`

## Response `200`

OK

- UserSessionDTO[]
  - `sessionId` string
  - `createdTime` string, date-time
  - `lastRefreshTime` string, date-time
  - `clientId` string
  - `scope` string

## Other responses

- `401` — User is not authenticated
- `404` — User not found

---

[API](https://skmtc.net/openhab/apis/openhab-rest-api.md) · [All operations](https://skmtc.net/openhab/apis/openhab-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openhab/openhab-rest-api/revisions/0f2ce17cab3e/schema)
