Skip to content

List attributes for a user.

GET
/api/admin/attributes/users/{userId}
Code sample: Shell / cURL
curl --request GET \
--url 'https://auth.example.com/api/admin/attributes/users/example?include_expired=false' \
--header 'Authorization: Bearer <token>'

Returns a user summary and that user’s verified attributes, optionally including expired attributes. Inactive accounts remain identifiable. A proven account whose contact data cannot be read safely, including a deleting or deleted account, has its id with null email and name. The user field is null only when no canonical account and subject can be established for the current tenant. Personal data is never read from an unverified fallback store. Storage read failures return an error rather than a successful response with incomplete data.

userId
required
string

User id.

include_expired
boolean

Include expired attributes.

User attribute response for one user.

Media type application/json

The user summary distinguishes a proven canonical identity with unavailable contact data from a missing identity. Contact values remain null when their owner cannot be established.

object
user
required
object
id
required
string
email
required
string | null
name
required
string | null
key
additional properties
attributes
required
Array<object>
object
id
required
string
tenant_id
required
string
user_id
required
string
attribute_name
required
string
attribute_value
required
string
source_type
required
string
issuer_did
string | null
verification_id
string | null
verified_at
required
integer format: int64
expires_at
required
integer | null format: int64
user_email
string | null format: email
user_name
string | null
key
additional properties
key
additional properties
Example generated
{
"user": {
"id": "example",
"email": "example",
"name": "example"
},
"attributes": [
{
"id": "example",
"tenant_id": "example",
"user_id": "example",
"attribute_name": "example",
"attribute_value": "example",
"source_type": "example",
"issuer_did": "example",
"verification_id": "example",
"verified_at": 1,
"expires_at": 1,
"user_email": "hello@example.com",
"user_name": "example"
}
]
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}