---
title: "POST /openapi/v1/auth/whoami"
method: POST
path: "/openapi/v1/auth/whoami"
tags: ["openapi/v1/auth", "openapiV1Auth"]
---

# POST /openapi/v1/auth/whoami

`POST /openapi/v1/auth/whoami`

## Response `200`

A successful response.

- object
  - `code` integer
  - `msg` string
  - `data` AuthWhoamiResp
    - `userID` integer, required
    - `userName` string, required
    - `email` string, required
    - `workspaceID` integer, required
    - `workspaceName` string, required
    - `apiKeyName` string, required
    - `keyPrefix` string, required
    - `permissions` string[], required
    - `roles` string[], required
    - `keyType` string, required

---

[API](https://skmtc.net/freezonex/apis/untitled-api.md) · [All operations](https://skmtc.net/freezonex/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/freezonex/untitled-api/revisions/e5f616b215c8/schema)
