v1

latestOpenAPI 3.1.02026-07-2665179189.7 KB
Account

Get the authenticated account and logged-in user

⚠️ This endpoint is in public preview.

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.

get/preview/v2/me

Response

Account and logged-in user information.

object'account' required
account_idstring required

The account identifier.

created_atinteger 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).

Example response

{
  "account_id": "acme-corp",
  "created_at": 1738972800,
  "user": {
    "id": "my-resource-name",
    "resource_path": "sfc:user:<name>",
    "created_at": 1738972800
  }
}
All 65 operations