Skip to content

List user attributes.

GET
/api/admin/attributes
Code sample: Shell / cURL
curl --request GET \
--url 'https://auth.example.com/api/admin/attributes?page=1&limit=50&include_expired=false' \
--header 'Authorization: Bearer <token>'

Lists verified user attributes with pagination and filters for user, attribute name, source type, expiration state, and text search.

page
integer
default: 1 >= 1

Page number, starting at 1.

limit
integer
default: 50 >= 1

Page size.

user_id
string

Filter by user id.

attribute_name
string

Filter by exact attribute name.

source_type
string

Filter by source type.

include_expired
boolean

Include expired attributes.

search
string

Search attribute name, value, or user id.

User verified attribute list response.

Media type application/json
object
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
pagination
required
object
page
required
integer
>= 1
limit
required
integer
>= 1
total
required
integer
total_pages
required
integer
key
additional properties
key
additional properties
Example generated
{
"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"
}
],
"pagination": {
"page": 1,
"limit": 1,
"total": 1,
"total_pages": 1
}
}

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"
}