Skip to main content
POST
/
auth
/
login
User Login
curl --request POST \
  --url https://api.promptmetrics.dev/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "password": "<string>"
}
'
{
  "responseData": {
    "accessToken": "<string>",
    "idToken": "<string>",
    "refreshToken": "<string>",
    "expiresIn": 123,
    "isVerified": true
  },
  "message": "<string>"
}

Body

application/json
email
string<email>
required
password
string
required

Response

Login successful or OTP resent

responseData
object
message
string