Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Daniel-Stojanovski/finkiopendesk/llms.txt

Use this file to discover all available pages before exploring further.

Authenticates an existing user account using an email address and password. Both student and general user accounts use this endpoint. On success, a JWT login token is returned. This token identifies the user in all subsequent authenticated requests — pass it in the Authorization header as Bearer <token>.
This endpoint is public. No authentication is required.

Request

POST https://finkiopendesk-be.onrender.com/auth/login
Content-Type: application/json
email
string
required
The email address associated with the account.
password
string
required
The account password.

Response

The response body is a plain JWT login token string. Include it as Authorization: Bearer <token> in all requests to authenticated endpoints.
(body)
string
A JWT login token encoding the user’s UUID as its subject claim.

Example

curl -X POST \
  "https://finkiopendesk-be.onrender.com/auth/login" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "student@students.finki.ukim.mk",
    "password": "s3cur3P@ssw0rd"
  }'
Student accounts must be activated via POST /auth/students/activate before they can log in. Attempting to log in with an inactive student account will fail.

Build docs developers (and LLMs) love