---
title: "GET /v2/user"
method: GET
path: "/v2/user"
tags: ["users"]
---

# GET /v2/user

`GET /v2/user`

## Request

- Base URL: `https://api.thecompaniesapi.com`
- URL: `https://api.thecompaniesapi.com/v2/user`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/thecompaniesapi/apis/the-companies-api/docs/v2/user/get.ts> (a function with typed inputs; its response is checked against the schema)

Get current user information.

## Response `200`

Get current user information.

- User: A user of the platform.
  - `colorMode` 'dark' | 'light' | 'system'
  - `createdAt` string, nullable
  - `currentTeamId` number, nullable, required
  - `email` string, required
  - `emailFree` boolean, nullable, required
  - `emailVerified` boolean, nullable, required
  - `emailVerifiedResentAt` string, nullable, required
  - `fullName` string, nullable, required
  - `hasPassword` boolean, nullable, required
  - `id` number, required
  - `locale` unknown
  - `pictureUrl` string, nullable, required
  - `referral` string, nullable
  - `role` 'owner' | 'user', nullable

## Other responses

- `401`: The error message

---

[API](https://skmtc.dev/thecompaniesapi/apis/the-companies-api.md) - [All operations](https://skmtc.dev/thecompaniesapi/apis/the-companies-api/llms.txt) - [OpenAPI document](https://skmtc.dev/thecompaniesapi/apis/the-companies-api/revisions/f8bfc2d10b71?raw)
