on this endpoint register user
identification
requiredpassword
requiredpassword_confirmation
requiredfirst_name
requiredlast_name
requireduser
id
first_name
last_name
personal_number
phone
birth_date
email
avatar
on this endpoint login user
login
requiredpassword
requireduser
id
first_name
last_name
personal_number
phone
birth_date
email
avatar
access_token
refresh_token
on this endpoint revoke current user token that causes log out
status
endpoint is used for phone verification, passed parameters: user_id and code which was sent to phone
phone
string, mandatory (should be phone)code
string, mandatory , max:4, min:4, numbersstatus
booleanmessage
stringaccess_token
tokenendpoint is used for email verification. user is automatically redirected to FE url after verification
status
successaccess_token
tokenThis endpoint sends OTP if login is phone or reset link to email if login is email
login
requiredstatus
phone
message
This endpoint is used to reset password with phone
phone
- number, mandatorycode
- string, mandatorypassword
- string, mandatorypassword-confirmation
- string, mandatorystatus
endpoint is used for update password after user goes from email to url.
email
password
password_confirmation
token
status
phone
code
status
message
phone
phone
message