---
title: "Get current user"
method: GET
path: "/v3/whoami"
tags: ["User Account"]
---

# Get current user

`GET /v3/whoami`

<small>_No scope required — any valid API key can call this endpoint._</small>

Returns the authenticated user's ID, username, and team ID. Useful for verifying credentials and identifying the current user and their team.

## Response `200`

Current user info retrieved successfully

- object
  - `userId` integer, required — The authenticated user's ID
  - `username` string, required — The authenticated user's username
  - `teamId` integer, required — The ID of the team the authenticated user belongs to

## Other responses

- `401` — Unauthorized. The response body is empty; check the `WWW-Authenticate` header for the expected scheme.
- `404` — Authenticated user no longer exists
- `429` — Too Many Requests

---

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