Account
Get account details
Changed onReturns 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.
get/account/get-account-details
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/account/get-account-details
- AuthHTTP bearer
Response
Account details retrieved successfully.
Example response
{
"userId": "69561896a37fd214b9a8d33a",
"email": "user@example.com",
"firstName": "Ada",
"lastName": "Lovelace"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking