MonetaryAI / Docs
API ReferenceUsers and roles

Read one company user

Returns one visible membership with local display name, immutable login email, roles, status, last login and lockVersion. Company permission: `getCompanyUser`. 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/{id}

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.

Path Parameters

id*string
Formatuuid

Response Body

Company membership detail

*/*
  1. response
contactEmail?string
displayName?string
email?string
id?string
Formatuuid
lastLogin?string
Formatdate-time
lockVersion?integer
Formatint32
roles?array<string>
status?string
userId?string
Formatuuid
curl -X GET 'https://api.monetaryai.uz/api/v1/settings/users/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "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"}