---
title: "Get account details"
method: GET
path: "/account/get-account-details"
tags: ["Account"]
---

# Get account details

`GET /account/get-account-details`

## Request

- Base URL: `https://api.smallest.ai/atoms/v1`
- URL: `https://api.smallest.ai/atoms/v1/account/get-account-details`
- Auth: HTTP bearer

Returns the calling user's profile (email, name, avatar) along with every organization
the user belongs to. Use this to resolve the user's active org list before switching
context, or to render user info in a management UI.

## Response `200`

Account details retrieved successfully.

- object
  - `userId` string: Unique user ID.
  - `email` string, email
  - `firstName` string
  - `lastName` string
  - `phone` string, nullable
  - `picture` string: URL of the user's avatar image.
  - `hasOnboarded` boolean: Whether the user has completed initial onboarding.
  - `organizations` object[]: Organizations the user is a member of. `roleId` is 0 for owner, 1 for member (and higher values for finer-grained roles).
    - `orgId` string
    - `name` string
    - `ownerEmail` string, email
    - `roleId` integer
    - `onPremEnabled` boolean

## Other responses

- `401`: Missing or invalid API key.

## Changes

- **2026-08-09** `d671ad39901c`: 1 info
  - endpoint added
- **2026-06-22** `0eac753eb5dd`: 1 breaking
  - api path removed without deprecation
- **2026-06-21** `ea4ea58d7c4e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/smallest-inc/apis/agent-management-api/changes/account/get-account-details/get.md)

---

[API](https://skmtc.dev/smallest-inc/apis/agent-management-api.md) - [All operations](https://skmtc.dev/smallest-inc/apis/agent-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smallest-inc/apis/agent-management-api/revisions/fed4f750ea02?raw)
