Skip to main content
POST
/
users
Create a new user
curl --request POST \
  --url https://api.example.com/users \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "password": "password123",
  "firstName": "John",
  "lastName": "Doe",
  "provider": "<string>",
  "providerId": "<string>",
  "image": "<string>",
  "isEmailVerified": true,
  "roles": [
    "user"
  ]
}
'
{}

Body

application/json
email
string
required
password
string
required
Example:

"password123"

firstName
string
Example:

"John"

lastName
string
Example:

"Doe"

provider
string
providerId
string
image
string
isEmailVerified
boolean
roles
enum<string>[]
Available options:
user,
admin,
project_manager,
super_admin

Response

The user has been successfully created.

The response is of type object.