Mediloop

Get user

Platform

Retrieve 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.read

Endpoint summary

GET /v1/users/{user_id} requires users.read.

Path parameters

NameTypeDescription
user_iduuidUser 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_123

Example response

JSONCopy
{
  "id": "usr_123",
  "display_name": "Dr. Sarah Müller",
  "memberships": [{ "id": "mbr_456", "tenant_id": "tnt_123", "roles": ["doctor"] }]
}

User model

FieldTypeDescription
idstringGlobal user identifier
emailstringVerified or pending email identifier
display_namestringDisplay name visible according to access policy
identity_statusenumIdentity verification state
membershipsarrayOnly memberships visible to the caller