erp

Authorization
POST /auth/login
GET /auth/user
login
POST /auth/login

Request body

Object
phone
integer required
Min: 11
Max: 11
password
string required

Responses

200 OK
Body
Object
access_token
string
profile
GET /auth/user

Authentication

Bearer

Responses

200 OK
Body
Object
user
Object
id
integer
name
string
surname
string
phone
integer
email
string
telegram
string
icon
string