---
title: "GET /api/v1/whoami"
method: GET
path: "/api/v1/whoami"
---

# GET /api/v1/whoami

`GET /api/v1/whoami`

## Request

- The document declares no server URL.
- Auth: none declared

## Response `200`

- User
  - `id` string, required
  - `vcs` string[], required

## Other responses

- `403`

## Changes

- **2025-04-11** `b2ac24faa719`: 3 warning, 1 info
  - removed the optional property `avatar_url` from the response with the `200` status
  - removed the optional property `email` from the response with the `200` status
  - removed the optional property `name` from the response with the `200` status
  - added the required property `vcs` to the response with the `200` status
- **2024-10-03** `2089572474fe`: 1 breaking, 3 info
  - removed the required property `vcs` from the response with the `200` status
  - added the optional property `avatar_url` to the response with the `200` status
  - added the optional property `email` to the response with the `200` status
  - added the optional property `name` to the response with the `200` status

[Operation history](https://skmtc.dev/terrateamio/apis/terrateam-terrat-api/changes/api/v1/whoami/get.md)

---

[API](https://skmtc.dev/terrateamio/apis/terrateam-terrat-api.md) - [All operations](https://skmtc.dev/terrateamio/apis/terrateam-terrat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/terrateamio/apis/terrateam-terrat-api/revisions/e690d2cffc49?raw)
