Palbase Auth API · API
GET
/admin/users/{uid}/consentsGet a user's consents
Returns the account's state, key by key, and every choice behind it, newest first: the proof of what was allowed when.
Called by your server, with the project's secret key.
Path
uidstring · requiredThe user's ID.curl
curl -X GET "https://<your-ref>.palbase.studio/admin/users/<uid>/consents" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200The account's consents
400Validation failed or required field missing
401Missing, invalid, or expired credentials
403Authenticated but not permitted (banned, hook denial, role mismatch)
404Resource does not exist or is not visible to the caller
503Downstream dependency unavailable (typically HIBP / breach service)
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation AdminGetUserConsents of auth's contract.