Get user
PlatformRetrieve a user profile and the memberships visible to the requesting application.
Identity
One user identity
Membership
Tenant affiliation
Role
Functional access
Context
Tenant + membership
GET
/v1/users/{user_id}Scope: users.readEndpoint summary
GET
/v1/users/{user_id} requires users.read.Path parameters
| Name | Type | Description |
|---|---|---|
| user_id | uuid | User identifier visible in the active tenant context |
Example request
cURLCopy
GET https://api.mediloop.com/v1/users/usr_123
Authorization: Bearer $ACCESS_TOKEN
X-Tenant-Id: tnt_123Example response
JSONCopy
{
"id": "usr_123",
"display_name": "Dr. Sarah Müller",
"memberships": [{ "id": "mbr_456", "tenant_id": "tnt_123", "roles": ["doctor"] }]
}User model
| Field | Type | Description |
|---|---|---|
| id | string | Global user identifier |
| string | Verified or pending email identifier | |
| display_name | string | Display name visible according to access policy |
| identity_status | enum | Identity verification state |
| memberships | array | Only memberships visible to the caller |