v1

latestOpenAPI 3.1.02026-07-2665179189.7 KB
Users

Get user

⚠️ This endpoint is in public preview.

Returns user details by ID or resource path.

get/preview/v2/users/{id}

Path parameters

idstring required

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.

Example:my-resource-name

User ID or resource path

Response

User details.

object'user' required
idstring required
resource_pathstring required

A resource path for a user resource. Format: sfc:user:<name>.

created_atinteger required

Unix timestamp.

emailstring nullable

The member's primary email, or null if they have no recorded email identity.

first_namestring nullable

The member's first name, or null if not recorded.

last_namestring nullable

The member's last name, or null if not recorded.

Example response

{
  "id": "my-resource-name",
  "resource_path": "sfc:user:<name>",
  "created_at": 1738972800
}