Skip to main content
GET
Get the authenticated account and logged-in user

Authorizations

Authorization
string
header
required

Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.

Response

Account and logged-in user information.

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
string
default:account
required
read-only
Allowed value: "account"
account_id
string
required

The account identifier.

Example:

"acme-corp"

created_at
integer<int64>
required

When the account was created, as a Unix epoch timestamp in seconds.

Example:

1738972800

entity_type
null | enum<string>

Whether the account is for personal use or a business, or null if it hasn't been set yet.

Available options:
personal,
business
user
null | object

The logged-in user that issued the calling token. null when authenticated with a service token, which acts on behalf of the account rather than an individual user.