Admin users
List accounts
GET
Auth: Admin key.
bearerheader
AuthorizationBearer <token>An API key in the Authorization header.
limit?integerHow many accounts to return, at most 200.
Range
1 <= value <= 200Default
50cursor?stringId of the last account on the previous page.
admin?stringtrue for service admins only, false for the accounts without the flag. Omit for both.
Value in
"true""false"email?stringExact email address to look up.
Length
1 <= length <= 320include?stringComma-separated expansions to add: memberships (each organization the account belongs to, and its role, returned by default).
fields?stringComma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, name, email, admin, memberships, created_at.
A page of accounts, newest first.
application/json- response
data?array<>The page of accounts, newest first.
next_cursor?|Id to pass as cursor for the next page. Null on the last page.
curl -X GET 'https://pouch.example.com/v1/admin/users'Example Response
{ "data": [ { "id": "string", "name": "string", "email": "string", "admin": true, "memberships": [ { "organization_id": "string", "organization_name": "string", "role": "owner" } ], "created_at": "string" } ], "next_cursor": "string"}