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
| Name | Type | Description |
|---|---|---|
org | string | The 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"
}
]
| Field | Type | Description |
|---|---|---|
user_id | string | usr_… |
email | string | |
name | string | Combined name |
given_name, family_name | string | |
picture | URL | |
role | owner | member | Their role in the org |
Errors
| Status | error | When |
|---|---|---|
404 | not_found | The org does not exist, or your token cannot manage it |
Example
curl https://loginwith.loginwith.dev/organizations/acme/members \
-H "Authorization: Bearer $TOKEN"