Herald
OpenapiUsers

List users in the realm

List users with pagination. Requires `users.view` permission.

GET
/api/users

List users with pagination. Requires users.view permission.

Authorization

bearer_auth
headerAuthorizationBearer <token>

Query Parameters

page?integer

Page number (0-based)

Formatint32
pageSize?integer

Page size

Formatint32
email?string

Filter users by email (partial match)

Response Body

List of users

application/json
  1. response
items*array<>
page*integer
Formatint64
pageSize*integer
Formatint64
total*integer
Formatint64
Example Request
curl -X GET 'https://example.com/api/users'
Example Response
{
  "items": [
    {
      "createdAt": "string",
      "email": "string",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "nickname": "string",
      "realmId": "string",
      "status": 0
    }
  ],
  "page": 0,
  "pageSize": 0,
  "total": 0
}