auth

User login via email and password

Authenticate a user using their email and password and return a JWT for X-Auth-Token header

post/auth/login

Request

  • Base URL: https://phish.in/api/v2
  • URL: https://phish.in/api/v2/auth/login
  • Auth: none declared

Request body

emailstring required

User email

passwordstring required

User password

Response

User login via email and password

jwtstring required

JWT

usernamestring required

User's username

emailstring required

User's email address

adminboolean required

Whether the user is an admin

Changes

No recorded changes to this operation across all 1 revision of this API.