---
title: "Auth Token Whoami"
method: POST
path: "/api/v1.admin.auth-token.whoami"
tags: ["Admin"]
---

# Auth Token Whoami

`POST /api/v1.admin.auth-token.whoami`

Return the role of the currently authenticated token

## Request body

- AdminAuthTokenWhoamiIn

## Response `200`

- AdminAuthTokenWhoamiOut
  - `role` string, required

## Other responses

- `400`
- `401`
- `403`
- `422`

---

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