v1
latestOpenAPI 3.1.02026-07-14159142161.9 KBauthService
Sign up
Sign up user by firstName, lastName, email, password. Returns created user
post/auth/v1/users
Request body
Example request
{
"email": "example@gmail.com",
"password": "12345678",
"firstName": "Stas",
"lastName": "Raranetskyi"
}Response
Created
Example response
{
"id": 1,
"firstName": "Stas",
"lastName": "Raranetskyi",
"specialization": "Specialist",
"country": "Ukraine",
"city": "Kiyv",
"avatar": "/storage/avatars/c4ca423/avatar.jpeg",
"aboutMyself": "about me",
"registered": true,
"dateOfDismiss": 1654180120,
"showBirthYear": true,
"email": [
{
"id": "",
"type": "main",
"value": "stark@gmail.com",
"main": true
},
{
"id": "01gdnpddf5xgzxqvcn4x83mc2s",
"type": "work",
"value": "benner@gmail.com",
"main": false
}
],
"phone": [
{
"id": "01gdnpddf5xgzxqvcn4x83mc2s",
"type": "WORK",
"value": "+380123456789"
}
],
"socialMedia": [
{
"id": "01gdnpddf5xgzxqvcn4x83bn2s",
"name": "facebook",
"link": "https://www.facebook.com"
}
],
"emailInvitation": true,
"dateOfInvitation": 1654180120
}