---
title: "Get the authenticated account and logged-in user"
method: GET
path: "/preview/v2/me"
tags: ["Account"]
---

# Get the authenticated account and logged-in user

`GET /preview/v2/me`

> ⚠️ This endpoint is in [public preview](/preview/roadmap).

Returns the authenticated account along with details about the logged-in user that issued the calling token.

The `user` field is `null` when authenticated with a service token.

## Response `200`

Account and logged-in user information.

- MeResponse — Response body for `GET /v2/me`: the authenticated account plus, when the caller is a human user, details about the logged-in user that issued the calling token.
  - `object` 'account', required
  - `account_id` string, required — The account identifier.
  - `created_at` integer, required — Unix timestamp.
  - `entity_type` 'personal' | 'business' — Whether the account is for personal use or a business. Captured once at onboarding and fixed thereafter (write-once).
  - `user` UserResponse
    - `object` 'user', required
    - `id` string, required
    - `resource_path` string, required — A resource path for a user resource. Format: sfc:user:<name>.
    - `created_at` integer, required — Unix timestamp.
    - `email` string, nullable — The member's primary email, or `null` if they have no recorded email identity.
    - `first_name` string, nullable — The member's first name, or `null` if not recorded.
    - `last_name` string, nullable — The member's last name, or `null` if not recorded.

## Other responses

- `401` — Unauthorized.
- `404` — Account not found.
- `500` — Internal server error.

---

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