---
title: "Lists the caller's active sessions."
method: GET
path: "/api/users/me/sessions"
tags: ["sessions"]
---

# Lists the caller's active sessions.

`GET /api/users/me/sessions`

## Request

- Base URL: `https://api.pricklymails.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pricklymails.com/api/users/me/sessions`
- Auth: HTTP bearer

## Response `200`

Active sessions for the caller, newest first.

- SessionResponse[]
  - `created_at` string, required: When the session was created (ISO 8601).
  - `current` boolean, required: Whether this is the session the request's access token belongs to.
  - `device_name` string, nullable: Device name, if set.
  - `ip_address` string, nullable: IP address of the session origin.
  - `last_active_at` string, required: When the session was last active (ISO 8601).
  - `user_agent` string, nullable: User agent of the session origin.
  - `uuid` string, required: Public UUID.

## Other responses

- `401`: Missing or invalid JWT.

---

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