Skip to main content
GET
https://your-rootprint-host
/
api
/
users
List users
curl --request GET \
  --url https://your-rootprint-host/api/users \
  --cookie better-auth.session_token=
[
  {
    "id": "<string>",
    "name": "<string>",
    "email": "jsmith@example.com",
    "lastActive": "2023-11-07T05:31:56Z",
    "hasCredentialAccount": true,
    "inviteUrl": "<string>",
    "inviteExpiresAt": "2023-11-07T05:31:56Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.rootprint.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

better-auth.session_token
string
cookie
required

Better Auth session cookie used by the Rootprint web UI.

Response

Users.

id
string
required
name
string
required
email
string<email>
required
role
enum<string> | null
required
Available options:
admin,
user
lastActive
string<date-time> | null
required
status
enum<string>
required
Available options:
active,
pending,
expired
hasCredentialAccount
boolean
required
inviteUrl
string | null
required
inviteExpiresAt
string<date-time> | null
required