Skip to content

Register a new user

POST
/register
curl --request POST \
--url http://localhost:8000/api/v1/register \
--header 'Content-Type: application/json' \
--data '{ "email": "hello@example.com", "first_name": "example", "last_name": "example", "username": "example", "phone": "example", "password": "example" }'
Media type application/json
object
email
required
string format: email
first_name
required
string
last_name
string
username
string
phone
string
password
required
string format: password
Example generated
{
"email": "hello@example.com",
"first_name": "example",
"last_name": "example",
"username": "example",
"phone": "example",
"password": "example"
}

User registered successfully

Validation error