Users and user groups
Read-only, for service tokens (or tenant admins).
List users
GET
/api/v1/usersauth- curl
- JavaScript
- Python
- R
curl -s https://auth.scenid.cloud/api/v1/users -H "Authorization: Bearer $TOKEN"
const response = await fetch('https://auth.scenid.cloud/api/v1/users', {
headers: { Authorization: `Bearer ${token}` }
})
console.log(response.status, await response.json())
import requests
response = requests.get(
"https://auth.scenid.cloud/api/v1/users",
headers={"Authorization": f"Bearer {token}"},
)
print(response.status_code, response.json())
library(httr2)
response <- request("https://auth.scenid.cloud/api/v1/users") |>
req_auth_bearer_token(token) |>
req_error(is_error = \(r) FALSE) |>
req_perform()
resp_status(response)
resp_body_json(response)
Response 200
[
{
"uid": "…",
"email": "anja.lindholm@nordlicht-holding.example",
"emailVerified": true,
"verificationMethod": "…",
"displayName": "Anja Lindholm",
"photoURL": "https://…",
"signedUpAt": "2026-03-01T09:00:00.000Z",
"lastSeenAt": "2026-09-28T07:41:00.000Z",
"isOwner": false,
"isAdmin": true,
"customClaims": { "customers": { "use": true } },
"userGroups": [{ "name": "Sales", "assignmentMethod": "manual" }],
"registrationStatus": "…"
}
]
Sorted by displayName. customClaims merges the user's own claims with those of their groups.
List user groups
GET
/api/v1/userGroupsauthResponse 200
[{ "gid": "…", "name": "Sales", "assignOnRegister": false }]