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

# GET /api/v1/gitlab/whoami

`GET /api/v1/gitlab/whoami`

## Request

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

## Response `200`

- GitlabUser
  - `avatar_url` string
  - `username` string, required

## Other responses

- `403`

## Changes

- **2025-06-30** `2ac96ad9c87d`: 1 info
  - endpoint added
- **2024-10-03** `2089572474fe`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/terrateamio/apis/terrateam-terrat-api/changes/api/v1/gitlab/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)
