---
title: "GetCurrentMagicAuthToken returns information about the current magic auth token."
method: GET
path: "/v1/magic-tokens/current"
---

# GetCurrentMagicAuthToken returns information about the current magic auth token.

`GET /v1/magic-tokens/current`

## Response `200`

A successful response.

- V1GetCurrentMagicAuthTokenResponse
  - `token` V1MagicAuthToken
    - `attributes` object
    - `createdByUserEmail` string
    - `createdByUserId` string
    - `createdOn` string, date-time
    - `displayName` string
    - `expiresOn` string, date-time
    - `fields` string[]
    - `id` string
    - `metricsViewFilters` object
    - `projectId` string
    - `resourceName` string
    - `resourceType` string
    - `resources` V1ResourceName[]
      - `name` string
      - `type` string
    - `state` string
    - `token` string
    - `url` string
    - `usedOn` string, date-time

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.net/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/versions/289a0ca9ce49/schema)
