---
title: "Get the current user"
method: GET
path: "/me"
tags: ["Me"]
---

# Get the current user

`GET /me`

## Request

- Base URL: `https://api.mockflow.com/v1`
- URL: `https://api.mockflow.com/v1/me`
- Auth: HTTP bearer

The person behind the token, the workspace they belong to, and its plan.

## Response `200`

OK

- User
  - `id` string
  - `email` string, email
  - `name` string
  - `firstName` string
  - `lastName` string
  - `createdAt` string, date-time, nullable
  - `workspace` object
    - `id` string
    - `name` string
    - `plan` 'basic' | 'plus' | 'max': The three plans. An enterprise licence is a max plan.
    - `dayPass` boolean
    - `dayPassEndsAt` string, date-time, nullable
    - `teamPack` boolean
    - `business` boolean: The workspace holds a board business licence.
    - `boardCount` integer
    - `spaceCount` integer
  - `token` object
    - `kind` 'personal' | 'service' | 'oauth'
    - `name` string, nullable
    - `scopes` string[]

## Other responses

- `401`: Missing or invalid token.
- `429`: Too many requests.

---

[API](https://skmtc.dev/mockflow/apis/mockflow-boards-api.md) - [All operations](https://skmtc.dev/mockflow/apis/mockflow-boards-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mockflow/apis/mockflow-boards-api/revisions/1a890390518c?raw)
