---
title: "User"
method: GET
path: "/v1/users/whoami"
tags: ["Users"]
---

# User

`GET /v1/users/whoami`

## Request

- Base URL: `https://api.altoviz.com`
- URL: `https://api.altoviz.com/v1/users/whoami`
- Auth: none required
- TypeScript: <https://skmtc.dev/altoviz/apis/altoviz-api/docs/v1/users/whoami/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

OK

- User: User
  - `displayName` string, nullable: Display name
  - `email` string, nullable: E-mail
  - `firstName` string, nullable: First name
  - `lastName` string, nullable: Last name
  - `phone` string, nullable: Phone
  - `profile` 'Admin' | 'Standard' | 'Accountant' | 'Support' | 'Api' | 'Unknown'
  - `status` 'Inactive' | 'InvitationSent' | 'Active' | 'Unknown'
  - `userId` string, nullable: User Id

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/altoviz/apis/altoviz-api.md) - [All operations](https://skmtc.dev/altoviz/apis/altoviz-api/llms.txt) - [OpenAPI document](https://skmtc.dev/altoviz/apis/altoviz-api/revisions/4f7fa64cf9e3?raw)
