List user consent records
GET
/api/admin/users/{userId}/consent-records
Code sample: Shell / cURL
curl --request GET \ --url https://auth.example.com/api/admin/users/example/consent-records \ --header 'Authorization: Bearer <token>'Returns consent statement records for a user with statement slug and category metadata.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” userId
required
string
Responses
Section titled “ Responses ”Successful JSON response.
Media type application/json
object
records
required
Array<object>
object
key
additional properties
key
additional properties
Example
{ "records": [ { "id": "record_123", "user_id": "user_123", "statement_id": "statement_123", "status": "granted", "version": "2026-01", "updated_at": 1770000000000, "slug": "terms", "category": "terms" } ]}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"}