---
title: "Get a list of active sessions for a user"
method: GET
path: "/api/v1/users/{authId}/active-sessions"
tags: ["Users"]
---

# Get a list of active sessions for a user

`GET /api/v1/users/{authId}/active-sessions`

Required scope - read_user

## Path parameters

- `authId` string, required

## Response `200`

A list of active sessions

- object
  - `activeSessions` object[]
    - `sessionId` string
    - `expiredAt` number
    - `authId` string
    - `clientId` string
    - `scope` string
    - `roles` string[]

---

[API](https://skmtc.net/valuemelody/apis/melody-auth-s2s-api.md) · [All operations](https://skmtc.net/valuemelody/apis/melody-auth-s2s-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/valuemelody/melody-auth-s2s-api/revisions/2e1471620fd7/schema)
