Skip to main content
POST
/
auth
/
login
login
curl --request POST \
  --url http://localhost:8000/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "abebe@gmail.com",
  "password": "abebebesob"
}
'
{
  "data": {
    "email": "abebe@gmail.com",
    "firstName": "abebe",
    "id": "6708d54f9c193b2aeae09b80",
    "lastName": "kebede",
    "role": "user"
  },
  "error": null
}

Body

application/json
email
string
Example:

"abebe@gmail.com"

password
string
Example:

"abebebesob"

Response

login - success

data
object
error
unknown