Skip to main content
POST
/
accounts
/
users
Create/Add user
curl --request POST \
  --url https://api.quiva.ai/accounts/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "first_name": "Jane",
  "last_name": "Smith",
  "email": "[email protected]",
  "role": "developer"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
first_name
string
required

First name

last_name
string
required

Last name

email
string<email>
required

Email address

role
enum<string>
required

Role

Available options:
admin,
developer,
monitor,
billing

Response

User created successfully

message
string