Skip to main content
POST
https://your-rootprint-host
/
api
/
users
Invite a user
curl --request POST \
  --url https://your-rootprint-host/api/users \
  --header 'Content-Type: application/json' \
  --cookie better-auth.session_token= \
  --data '
{
  "email": "jsmith@example.com",
  "name": "<string>"
}
'
{
  "inviteUrl": "<string>"
}

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.

Body

application/json
email
string<email>
required
name
string
required
Required string length: 1 - 128
role
enum<string>
required
Available options:
admin,
user

Response

Invite created.

inviteUrl
string