FinkiOpenDesk uses JWT-based authentication for all protected API calls. There are two registration paths depending on who you are: FCSE students register with their institutional email and activate their account through a verification link, while general users register directly with any email and a password. Both paths produce a JWT that you include as aDocumentation 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.
Bearer token in subsequent requests.
Auth flows at a glance
FinkiOpenDesk supports two distinct registration flows:- Student registration — requires an
@students.finki.ukim.mkemail address. The account starts inactive; the user receives an activation email and must set a password before they can log in. - General user registration — any email address that is not a student address. The account is active immediately after
POST /auth/users/createand a JWT is returned directly.
POST /auth/login endpoint.
Public vs. authenticated endpoints
The table below summarises which routes are open and which require a valid JWT.| Endpoint | Method | Auth required |
|---|---|---|
/auth/students/create | POST | No |
/auth/students/activate | POST | No |
/auth/users/create | POST | No |
/auth/login | POST | No |
/api/** | Any | No |
/auth/user | GET | Yes |
/auth/user/program/{programId} | POST | Yes |
/auth/user/program | DELETE | Yes |
| All other routes | Any | Yes |
Using your JWT in API requests
After logging in or activating your account, you receive a JWT as a plain string in the response body. Include it in every authenticated request using theAuthorization header:
Token types
The API uses two separate JWT types internally. From your perspective as a caller:| Token | Purpose | Lifetime |
|---|---|---|
| Activation token | Sent inside the activation email link; passed to POST /auth/students/activate | 30 minutes |
| Login token | Returned by /auth/login, /auth/users/create, and /auth/students/activate; used in the Authorization header | 24 hours |
Next steps
Register as a student
Step-by-step walkthrough of the email activation flow for FCSE students.
Log in and manage tokens
How to log in, store your JWT, and call authenticated endpoints.