Mediloop

Get membership

Platform

Retrieve membership details including tenant, role assignments, status and audit metadata.

Identity

One user identity

Membership

Tenant affiliation

Role

Functional access

Context

Tenant + membership

GET/v1/memberships/{membership_id}Scope: memberships.read

Endpoint summary

GET /v1/memberships/{membership_id} requires memberships.read.

Path parameters

NameTypeDescription
membership_iduuidMembership identifier

Example request

cURLCopy
GET https://api.mediloop.com/v1/memberships/mbr_456
Authorization: Bearer $ACCESS_TOKEN
X-Tenant-Id: tnt_123

Example response

JSONCopy
{
  "id": "mbr_456",
  "user_id": "usr_123",
  "tenant_id": "tnt_123",
  "roles": ["doctor"],
  "status": "active"
}

Membership model

FieldTypeDescription
idstringImmutable membership identifier
user_idstringMediloop user linked to the membership
tenant_idstringTenant in which access is granted
rolesstring[]Functional roles assigned to the membership
statusenuminvited, active, suspended, terminated
created_atdate-timeMembership creation timestamp