Skip to main content
POST
/
auth
/
login
Login With Email
curl --request POST \
  --url https://api.faces.sh/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "password": "<string>"
}
'
{
  "success": true,
  "messages": [],
  "data": {
    "token": "<string>",
    "user_id": "<string>",
    "is_admin": true
  },
  "error": "<string>",
  "meta": {}
}

Body

application/json
email
string
required
password
string
required

Response

Successful Response

success
boolean
required
messages
string[] | null
data
LoginResponse · object
error
meta
Meta · object