POST
/
v2
/
system_users
Create Or Verify User
curl --request POST \
  --url https://api.galileo.ai/v2/system_users \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "user@example.com",
  "first_name": "Alice",
  "last_name": "Appleseed",
  "auth_method": "email",
  "password": "Th3secret_"
}'
{
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "email": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email_is_verified": true,
  "role": "system_admin",
  "auth_method": "<string>"
}

Query Parameters

signup_token
string | null

Body

application/json
email
string<email>
required
first_name
string | null
default:""
last_name
string | null
default:""
auth_method
enum<string>
Available options:
email,
google,
github,
okta,
azure-ad,
custom
role
enum<string>
Available options:
admin,
manager,
user,
read_only
email_is_verified
boolean | null
default:false
password
string<password> | null

Response

Successful Response

id
string<uuid4>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
email
string
required
role
enum<string>
required
Available options:
system_admin,
system_user
auth_method
string
required
first_name
string | null
last_name
string | null
email_is_verified
boolean | null