---
title: "Get Whoami"
method: GET
path: "/api/v4/whoami"
---

# Get Whoami

`GET /api/v4/whoami`

## Request

- Base URL: `https://api.app.shortcut.com`
- URL: `https://api.app.shortcut.com/api/v4/whoami`
- Auth: HTTP bearer

Returns details about the currently-authenticated member and token authorization.

## Response `200`

Resource

- WhoamiEntityWrapper
  - `$schema` string, required: The URI for the json-schema for this response.
  - `entity` Whoami, required: The entity for this response.
    - `authorization` TokenAuthorization: The authorization details for the token used to authenticate this request.
      - `scopes` string[]: The scopes granted by the token. Possible values are "read", "write", "story-write", "comment-write", and "admin".
    - `default_workflow` WorkflowSlim: The default Workflow for the Workspace the caller is authenticated against.
      - `entity_type` 'workflow:slim', required: The type of this entity.
      - `id` integer, required: The unique ID of the Workflow.
      - `name` string, required: The name of the Workflow.
      - `uri` string, required: A resolvable URI for the entity that will return the full representation.
    - `default_workflow_state` WorkflowStateSlim: The default Workflow State of the Workspace's default Workflow.
      - `entity_type` 'workflow-state:slim', required: The type of this entity.
      - `id` integer, required: The unique ID of the Workflow State.
      - `name` string, required: The name of the Workflow State.
      - `uri` string, required: A resolvable URI for the entity that will return the full representation.
      - `workflow_name` string, required: The name of the Workflow this state belongs to.
    - `entity_type` 'whoami': The type of this entity.
    - `member` Member: The Member the caller is authenticated as.
      - `agent` MemberAgent
        - `assignable` boolean, required: True if the agent may be set as an owner on Stories and Epics.
        - `mentionable` boolean, required: True if the agent may be @-mentioned in comments and descriptions.
      - `created_at` string, date-time: The time/date the Member was created.
      - `disabled` boolean: True if the Member is disabled (no longer has access to the Workspace).
      - `email_address` string, nullable: The Member's email address, if the Member has one. Commonly null for bot/application users such as Korey.
      - `entity_type` 'member': The type of this entity.
      - `id` string, uuid: The unique ID of the Member.
      - `mention_name` string: The Member's mention name, used to @mention them in text fields.
      - `name` string: The full name of the Member.
      - `role` string: The role of the Member in the Workspace.
      - `teams` NestedTeamSlimList: A list of Teams that this Member belongs to.
        - `current_items` integer, required
        - `entities` TeamSlim[], required
          - `app_url` string, required: The Shortcut application url for the Team.
          - `entity_type` 'team:slim', required: The type of this entity.
          - `id` string, uuid, required: The unique ID of the Team.
          - `name` string, required: The name of the Team.
          - `uri` string, required: A resolvable URI for the entity that will return the full representation.
        - `list_url` string, required
        - `total_items` integer, required
      - `updated_at` string, date-time: The time/date the Member was last updated.
      - `uri` string: A resolvable URI for the entity that will return the full representation.
    - `workspace` WorkspaceSlim: The Workspace the caller is authenticated against.
      - `app_url` string: The Shortcut application url for the Workspace.
      - `entity_type` 'workspace:slim': The type of this entity.
      - `id` string, uuid: The unique ID of the Workspace.
      - `name` string: The name of the Workspace.
      - `slug` string: The URL Slug for the Workspace (aka `workspace-slug`).

## Other responses

- `400`: Schema mismatch
- `404`: Resource does not exist
- `422`: Unprocessable

---

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