MonetaryAI / Docs
API ReferenceIdentity

Get the current authenticated user

Returns identity, membership, tenant, and role claims after signature and host-to-tenant validation.

GET
/api/v1/me

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.

Response Body

OK

*/*
  1. response
company?
globalUserId?string
membershipId?string
roles?array<string>
tenantId?string
userId?string
curl -X GET 'https://api.monetaryai.uz/api/v1/me'
{  "company": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "onboardingComplete": true,    "taxId": "string"  },  "globalUserId": "string",  "membershipId": "string",  "roles": [    "string"  ],  "tenantId": "string",  "userId": "string"}