---
title: "GET /token/v1/whoami"
method: GET
path: "/token/v1/whoami"
tags: ["tokens"]
---

# GET /token/v1/whoami

`GET /token/v1/whoami`

## Request

- Base URL: `https://developers.conduktor.io` (the document declares no server; this is the origin it was published from)
- URL: `https://developers.conduktor.io/token/v1/whoami`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/conduktor/apis/conduktor-console-api/docs/token/v1/whoami/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the information of the token used to call this endpoint

## Response `200`

- union
  - AdminToken
    - `id` string, uuid, required
    - `name` string, required
    - `createdAt` string, date-time, required
    - `createdBy` string
  - ApplicationInstanceToken
    - `id` string, uuid, required
    - `name` string, required
    - `applicationInstanceName` string, required
  - MachineToken
    - `id` string, uuid, required
    - `name` string, required
    - `actor` string, required
  - PersonalAccessToken
    - `id` string, uuid, required
    - `email` string, required
    - `name` string, required
    - `createdAt` string, date-time, required
    - `createdBy` string
  - UserToken
    - `email` string, required

## Other responses

- `400`: The request is not valid
- `401`: The user is not authenticated
- `403`: The user doesn't have sufficient privilege to do this operation
- `404`: The searched entity was not found
- `500`: An unexpected error occurred in the server

---

[API](https://skmtc.dev/conduktor/apis/conduktor-console-api.md) - [All operations](https://skmtc.dev/conduktor/apis/conduktor-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conduktor/apis/conduktor-console-api/revisions/24750c294805?raw)
