---
title: "Get active sessions"
method: GET
path: "/auth/sessions"
tags: ["Auth"]
---

# Get active sessions

`GET /auth/sessions`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/auth/sessions`
- Auth: HTTP bearer

Returns all active sessions for the current user

## Response `200`

Sessions retrieved successfully

- object
  - `success` boolean
  - `data` object[]
    - `id` string
    - `user_agent` string
    - `ip_address` string
    - `created_at` string, date-time

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
