Dokumentation
ReferenzUsers

List users.

GET
/users

List the users of the calling key's tenant, with their role, their team groups and whether they have ever logged in. This is the read side of provisioning: an integration reads the current state, compares it with its own, and provisions only what differs.

Unlike the directory listing, this operation answers with a paginated envelope: a tenant has an unbounded number of users, and a plain array leaves no room to page.

There is no separate operation for a single user. Narrow this list with emailAddress instead: because that filter matches one address exactly, the answer is the same envelope with a count of one or zero. A caller looking someone up checks count rather than expecting a user object or a 404.

Requires the right to list users, which is the tenant manager and the administrator.

Authorization

apiKey
headerX-API-Key<token>

API key issued in the Galilea settings.

Query Parameters

emailAddress?string

Exact address of a single user, compared case-insensitively.

Formatemail
userGroup?string

Name of a user group; lists only its members.

status?string

Lists only users that have never logged in, or only those that have.

Value in"invited""active"
searchTerm?string

Free-text search over name and address.

limit?integer

Number of users per page.

Default100
offset?integer

Index of the first user of the page.

Default0

Response Body

The user list.

application/json
  1. response
count*integer

Total number of users matching the filter.

next?|

URL of the next page, or null on the last one.

previous?|

URL of the previous page, or null on the first one.

results*array<>
curl -X GET "https://example.com/users"
{  "count": 0,  "next": "string",  "previous": "string",  "results": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "emailAddress": "anna.mueller@kunde.de",      "firstName": "Anna",      "lastName": "Müller",      "role": "editor",      "identityProvider": {        "id": "8f1b0c2e-9a44-11ef-9f3d-4f0c2b6a1d77",        "alias": "microsoft-entra"      },      "status": "invited",      "groups": [        {          "id": "7d9030b3-4c0f-4051-9d54-79a6802a0c22",          "name": "Legal"        }      ],      "invitedAt": "2019-08-24T14:15:22Z",      "lastActiveAt": "2019-08-24T14:15:22Z"    }  ]}