MonetaryAI / Docs
API ReferenceUsers and roles

List company users for the settings table

Bounded page with company display name, immutable login email, role codes, ACTIVE/SUSPENDED status, last login and lockVersion. ENDED memberships are hidden but retained for audit. Search matches literal name/email substrings; role and status filters are optional. Add a user through the recipient-bound invitation API, never by setting another person's password. Company permission: `listCompanyUsers`. Defaults: ADMIN. Current company role permissions and active membership are checked on every request; signed legacy role claims alone do not authorize this operation.

GET
/api/v1/settings/users

Authorization

bearerAuth
headerAuthorizationBearer <token>

Obtained from POST /api/v1/auth/login, on the tenant's own subdomain. Presenting it on another tenant's subdomain is a 403.

Query Parameters

page?integer
Formatint32
Default0
size?integer
Formatint32
Default50
query?string
role?string
status?string

Response Body

Filtered company user page

*/*
  1. response
items?array<>
page?integer
Formatint32
size?integer
Formatint32
totalElements?integer
Formatint64
curl -X GET 'https://api.monetaryai.uz/api/v1/settings/users'
{  "items": [    {      "contactEmail": "string",      "displayName": "string",      "email": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "lastLogin": "2019-08-24T14:15:22Z",      "lockVersion": 0,      "roles": [        "string"      ],      "status": "string",      "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"    }  ],  "page": 0,  "size": 0,  "totalElements": 0}