Skip to content

User login

POST
/login
curl --request POST \
--url http://localhost:8000/api/v1/login \
--header 'Content-Type: application/json' \
--data '{ "email": "hello@example.com", "phone": "example", "username": "example", "password": "example" }'
Media type application/json
object
email
string format: email
phone
string
username
string
password
required
string format: password
Example generated
{
"email": "hello@example.com",
"phone": "example",
"username": "example",
"password": "example"
}

User successfully logged in

Invalid credentials

Server error