v1

latestSwagger 2.02026-07-176617.2 KB
Authentication

User Login

Allows a user to log in and receive an authentication token.

post/login

Request body

emailstring required

User's email (required and must be a valid email address).

passwordstring required

User's password (required, minimum of 6 characters, and must contain at least one of the characters: !@#$%*).

Example request

{
  "email": "test@test.com",
  "password": "password#@#@!2121"
}

Response

Login successful, authentication token provided

ageinteger
emailstring
idstring
namestring

Example response

{
  "age": 30,
  "email": "test@test.com",
  "id": "82bdd399-321b-41d8-8b40-9a0116db9e92",
  "name": "John Doe"
}