POST /auth/login
application/json

Body Required

  • email string(email) Required
  • password string Required

Responses

  • 200 application/json

    Logged-in user response

    Hide response attributes Show response attributes object
    • error boolean
    • timestamp string(date-time)
    • uniqueId string | null
    • message object
      Hide message attributes Show message attributes object
      • id integer
      • username string
      • email string(email)
      • role string

        Values are OWNER, ADMIN, USER, or TESTER.

      • apiKey object
        Hide apiKey attributes Show apiKey attributes object
        • id integer
        • keyCode string
        • maxUploadSize integer

          Default value is -1.

      • avatar string | null
      • invitedBy object
        Hide invitedBy attributes Show invitedBy attributes object
        • uid integer
        • username string
        • role string

          Values are OWNER, ADMIN, USER, or TESTER.

        • avatar string | null
        • createdAt string(date-time)
      • createdAt string(date-time)
  • 403 application/json

    Forbidden

    Hide response attributes Show response attributes object
    • error boolean
    • timestamp string(date-time)
    • uniqueId string | null
POST /auth/login
curl \
 --request POST 'https://call.xap3y.space/v1/auth/login' \
 --header "Content-Type: application/json" \
 --data '{"email":"hello@example.com","password":"string"}'
Request examples
{
  "email": "hello@example.com",
  "password": "string"
}
Response examples (200)
{
  "error": true,
  "timestamp": "2026-05-04T09:42:00Z",
  "uniqueId": "string",
  "message": {
    "id": 42,
    "username": "string",
    "email": "hello@example.com",
    "role": "OWNER",
    "apiKey": {
      "id": 42,
      "keyCode": "string",
      "maxUploadSize": -1
    },
    "avatar": "string",
    "invitedBy": {
      "uid": 42,
      "username": "string",
      "role": "OWNER",
      "avatar": "string",
      "createdAt": "2026-05-04T09:42:00Z"
    },
    "createdAt": "2026-05-04T09:42:00Z"
  }
}
Response examples (403)
{
  "error": true,
  "timestamp": "2026-05-04T09:42:00Z",
  "uniqueId": "string"
}