List tenant members

Everyone in one tenant, with their role, sign-in methods and labels.

GET /organizations/{org}/tenants/{tenantId}/members

Lists the tenant’s members. Not paginated.

Authorization

Any member of the org. A non-member gets 404, the same as for an org that does not exist.

Path parameters

NameTypeDescription
orgstringThe organization: its id (org_…) or its slug. It has to be an org your token can manage (see Who can call it)
tenantIdstringThe tenant, tnt_…

Response

200 OK with an array of members.

[
  {
    "user_id": "usr_65f1c2a9e4b0d3f7a1c8e909",
    "email": "ada@acme.fr",
    "name": "Ada Lovelace",
    "given_name": "Ada",
    "family_name": "Lovelace",
    "picture": "https://…",
    "role": "member",
    "provisionner": "google",
    "providers": ["google"],
    "labels": [
      { "id": "lbl_65f1c2a9e4b0d3f7a1c8e90a", "name": "Finance", "color": "emerald", "icon": "banknotes", "level": "member" }
    ]
  }
]
FieldTypeDescription
user_idstringusr_…
emailstring
namestringCombined name
given_name, family_namestring
pictureURL
roleowner | admin | member | invitedThe tenant role. Reads invited until they first sign in
provisionnerstringThe first of providers, or manual
providersstring[]How they can sign in: manual, google, …
labelsobject[]{ id, name, color, icon, level }, one per label they carry
phone, birthday, pronouns, locales, timezone, postal_addressPresent only when set

Errors

StatuserrorWhen
404not_foundNo such tenant in this org, or the org is not yours

Example

curl https://loginwith.loginwith.dev/organizations/acme/tenants/tnt_65f1c2a9e4b0d3f7a1c8e908/members \
  -H "Authorization: Bearer $TOKEN"