Skip to main content
POST
Register a new user

Body

application/json
email
string<email>
required

User email address

Example:

"john.doe@domain.com"

password
string<password>
required

User password (minimum 6 characters)

Minimum string length: 6
Example:

"mySecurePassword123"

fname
string
required

First name

Example:

"John"

lname
string

Last name

Example:

"Doe"

picture
string<uri>

Profile picture URL

Response

User registered and authenticated successfully

token
string

JWT authentication token

profile
object