Skip to main content
POST
/
login
Login Form
curl --request POST \
  --url https://api.example.com/login \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'email=<string>' \
  --data 'password=<string>'
"<string>"

Login Form

Endpoint for submitting login credentials to authenticate a user.

Request Body

FieldTypeRequiredDescription
emailstringYesUser’s email address
passwordstringYesUser’s password

Responses

StatusDescriptionContent Type
200Successful logintext/html
422Validation Errorapplication/json

Body

application/x-www-form-urlencoded
email
string
required
password
string
required

Response

Successful Response

The response is of type string.