---
title: "List active sessions"
method: GET
path: "/api/v1/auth/sessions"
tags: ["Authentication"]
---

# List active sessions

`GET /api/v1/auth/sessions`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/auth/sessions`
- Auth: HTTP bearer

Returns every live sign-in for the authenticated user — browser sessions and CLI device-code grants alike — with the session making the request flagged as current. No token material is returned.

## Cookies

- `refresh_token` string

## Response `200`

Sessions returned

## Other responses

- `401`: Not authenticated

---

[API](https://skmtc.dev/railhook/apis/railhook-api.md) · [All operations](https://skmtc.dev/railhook/apis/railhook-api/llms.txt) · [OpenAPI document](https://skmtc.dev/railhook/apis/railhook-api/revisions/4e2c76dfc33d?raw)
