Create User
Create a new user
Request
Headers
Name
Type
Required
Description
Body
Name
Type
Required
Description
Response
Samples
Schema
Name
Type
Required
Description
Last updated
Was this helpful?
Create a new user
Last updated
Was this helpful?
Was this helpful?
{
"data": {
"userId": "5a319511a86980001d602095",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1YTk..."
}
}{
"error": {
"statusCode": 400,
"code": "UserAlreadyExists",
"message": "User already exists with email [email protected]",
"data": {}
}
}{
"error": {
"statusCode": 409,
"code": "UserAlreadyExists",
"message": "The user already exists",
"data": {}
}
}