palbaseDocs

Palbase Auth API · API

GET/admin/users

List users

Lists the project's users a page at a time, newest first. Pass the page's next_cursor as cursor to read the next page; next_cursor is absent on the last page. The optional banned filter keeps only banned (true) or only not-banned (false) users.

Called by your server, with the project's secret key.

Query

limitinteger · optionalHow many items to return, 1 to 200; a value outside that range is refused.
cursorstring · optionalThe next_cursor of the previous page. Opaque; omit it for the first page.
bannedboolean · optionalOnly banned users (true) or only users who are not banned (false).
curl
curl -X GET "https://<your-ref>.palbase.studio/admin/users" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200A page of users

400Validation failed or required field missing

401Missing, invalid, or expired credentials

403Authenticated but not permitted (banned, hook denial, role mismatch)

503Downstream dependency unavailable (typically HIBP / breach service)

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation AdminListUsers of auth's contract.