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.

userId
required
string

User id.

include_expired
boolean

Include expired attributes.

User attribute response for one user.

Media type application/json
object
user
required
object | null
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": "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": "[email protected]",
"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"
}