# List users

`GET https://api.agilitycredit.net/scim/v2/{tenantId}/Users`

Docs page: https://apidocs.agilitycredit.com/sso/scim-api/list-users · Tag: Users

Returns the users for the tenant, optionally filtered. Filterable attributes:
`userName`, `emails.value`, `name.givenName`, `name.familyName`, `externalId`.
Supported operators: `eq`, `co`, `sw`.

Pagination parameters (`startIndex`, `count`) are accepted but the endpoint
returns the full filtered set in one response (capped at `maxResults=200`).
Unsupported filter attributes are logged and the request still succeeds
(returning all users).

Authentication: `Authorization: Bearer <api key>`.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `filter` | query |  | SCIM filter expression, e.g. `userName eq "jane@acme.com"`. |
| `startIndex` | query |  | Accepted but not honoured — the full result set is returned. |
| `count` | query |  | Accepted but not honoured — the full result set is returned (capped at 200). |

## Responses

| Status | Description | Body |
| --- | --- | --- |
| 200 | List of users | UserListResponse |
| 503 | SCIM provisioning is disabled on the tenant. | Error |

### Error bodies

503:

```json
{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:Error"
  ],
  "status": "503",
  "detail": "SCIM provisioning is disabled for this tenant"
}
```
