Get user
⚠️ This endpoint is in public preview.
Returns user details by ID or resource path.
Authorizations
Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.
Path Parameters
User ID or resource path A resource path like 'sfc:user:my-user' or an ID. Resource paths are human-readable but not stable - they change when resources are renamed or moved. IDs are stable and permanent.
([a-zA-Z0-9][a-zA-Z0-9._-]{0,254})|(sfc:user:[a-zA-Z0-9._-]+)"my-resource-name"
Response
User details.
"user"1 - 255[a-zA-Z0-9][a-zA-Z0-9._-]{0,254}"my-resource-name"
A resource path for a user resource. Format: sfc:user:.
sfc:user:[a-zA-Z0-9._-]+"sfc:user:<name>"
Unix timestamp.
1738972800
The member's primary email, or null if they have no recorded email identity.
The member's first name, or null if not recorded.
The member's last name, or null if not recorded.