---
title: "POST /users/whoami"
method: POST
path: "/users/whoami"
tags: ["users"]
---

# POST /users/whoami

`POST /users/whoami`

## Response `201`

- WhoAmIResultDto
  - `id` string, required
  - `email` string, required
  - `fullName` string, required
  - `verifiedAt` string, date-time, nullable, required
  - `organizationCount` number, required
  - `defaultProjectId` string, nullable, required
  - `defaultOrganizationId` string, nullable, required
  - `onboarding` object, required
  - `projectCount` number, required
  - `projectCreatedCount` number, required
  - `agentCreatedCount` number, required

## Other responses

- `404` — User not found
- `500` — Something went wrong.

## Changes

> 50 revisions in range; 1 could not be searched.

- **2023-10-10** `15cc42b39539` — 1 info
  - added the required property `agentCreatedCount` to the response with the `201` status
- **2023-09-23** `4a310fc6e849` — 1 info
  - added the required property `onboarding` to the response with the `201` status
- **2023-09-22** `14bbcd03a505` — 1 info
  - added the required property `defaultProjectId` to the response with the `201` status
- **2023-09-21** `3a6629f6e4a2` — 1 info
  - added the required property `defaultOrganizationId` to the response with the `201` status
- **2023-09-21** `1dbc93ea0b99` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/agentlabs-dev/apis/agentlabs-api/changes/users/whoami/post.md)

---

[API](https://skmtc.dev/agentlabs-dev/apis/agentlabs-api.md) · [All operations](https://skmtc.dev/agentlabs-dev/apis/agentlabs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentlabs-dev/agentlabs-api/revisions/5cafb4936550/schema)
