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.
Authorizations
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.
"account"The account identifier.
"acme-corp"
When the account was created, as a Unix epoch timestamp in seconds.
1738972800
Whether the account is for personal use or a business, or null if it hasn't been set yet.
personal, business 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.