Skip to main content

List users across projects (compatibility)

MethodPath
GET/v1/slim/query/admin/user

Authentication · Access policies

Compatibility route for older cross-project user list clients. Behaves exactly like GET /v1/slim/query/user. For new integrations, use GET /v1/slim/project/{id}/users.

Auth: bearer token. The caller must be a practitioner, an admin or a System Owner, and needs Practitioner:read. No extra admin check is applied. Scope: the caller's project (from the token), or the project in project=Project/<id> when it is your project or one of its sub-projects.

Behaviour​

  • Same parameters, filters, sorting, paging and caching as GET /v1/slim/query/user.

Example​

curl -X GET 'https://api.sandbox.ovok.com/v1/slim/query/admin/user?profileType=Practitioner&project=Project/3f1c2b7e-8d4a-4c1e-9b2f-6a7d5e4c3b21' \
-H "Authorization: Bearer ${OVOK_TOKEN}"

Successful response​

200 — User query results retrieved successfully.

Errors​

StatusMeaning
401Bearer token is missing, invalid or expired.
403You are not a practitioner, admin or System Owner, you lack Practitioner:read, or your session has no project.
422A query parameter fails validation.