admin
List Users
List users with pagination, search, sort, and consent filter.
NOTE: This endpoint is O(N) in the total user count today: it loads every Subscription, every User row, every Message-this-month aggregate, and the full UserData list from the store before slicing the requested page. Acceptable at <few-thousand-user scale; revisit when we cross that.
get/api/admin/users
Query parameters
offsetinteger
limitinteger
searchstring
sortstring
consentstring
Filter by data-sharing consent. 'all' returns every user, 'shared' returns only consenting users, 'none' returns only non-consenting users. Used by the Users tab consent filter.
Filter by data-sharing consent. 'all' returns every user, 'shared' returns only consenting users, 'none' returns only non-consenting users. Used by the Users tab consent filter.
Response
Successful Response