---
title: "Get Current Token Information"
method: GET
path: "/tokens/current"
tags: ["Tokens"]
---

# Get Current Token Information

`GET /tokens/current`

Get information about the current macaroon token(s), including organizations, apps, user identity hashes, and machine restrictions

## Response `200`

OK

- CurrentTokenResponse
  - `tokens` MainTokenInfo[]
    - `apps` string[]
    - `org_slug` string
    - `organization` string
    - `restricted_to_machine` string — Machine the token is restricted to (FromMachine caveat)
    - `source_machine_id` string — Machine making the request
    - `token_id` string
    - `user` string — User identifier if token is for a user

## Other responses

- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/machines/apis/machines-api.md) · [All operations](https://skmtc.net/machines/apis/machines-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/machines/machines-api/versions/633ddedda749/schema)
