---
title: "Get session tokens"
method: GET
path: "/accounts/session-tokens"
tags: ["Authentication"]
---

# Get session tokens

`GET /accounts/session-tokens`

Retrieves all active session tokens for the current user

## Response `200`

Session tokens retrieved successfully

- object
  - `data` object, required
    - `auth` SessionObject[]
      - `account_id` string, required — Account ID
      - `user_id` string, required — User ID
      - `account` string, required — Account name
      - `email` string — User email
      - `role` string, required — User role
      - `expiry` number, required — Subscription
      - `ip` string, required — IP address
      - `agent` string, required — User agent
      - `platform` string, required — Platform
      - `token` string, required — Authentication token
      - `refresh_token` string, required — Refresh token
      - `is_suspended` boolean, required — Whether the user is suspended
      - `location` string, required — Location
    - `refresh` RefreshTokenObject[]
      - `account_id` string — Account ID
      - `user_id` string — User ID
      - `account` string — Account name
      - `email` string, email — User email
      - `role` string — Role
      - `expiry` integer — Token expiration timestamp
      - `token` string — Refresh token

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/quivaworks/apis/quiva-ai-gateway.md) · [All operations](https://skmtc.net/quivaworks/apis/quiva-ai-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quivaworks/quiva-ai-gateway/revisions/771d118bd4d1/schema)
