List org members

The organization's own roster: who administers it.

GET /organizations/{org}/members

Lists who belongs to the org itself, as opposed to one of its tenants. The roster is read-only. 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)

Response

200 OK with an array of members.

[
  {
    "user_id": "usr_65f1c2a9e4b0d3f7a1c8e90c",
    "email": "grace@acme.com",
    "name": "Grace Hopper",
    "given_name": "Grace",
    "family_name": "Hopper",
    "picture": "https://…",
    "role": "owner"
  }
]
FieldTypeDescription
user_idstringusr_…
emailstring
namestringCombined name
given_name, family_namestring
pictureURL
roleowner | memberTheir role in the org

Errors

StatuserrorWhen
404not_foundThe org does not exist, or your token cannot manage it

Example

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