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.

Completes the student registration flow. Submit the activation token received by email (originally returned by POST /auth/students/create) alongside the desired password. The endpoint validates the token’s signature and expiry, extracts the user’s UUID from its subject claim, sets the password on the account, marks it as active, and returns a standard JWT login token ready for use in authenticated requests.
This endpoint is public. No authentication is required.

Request

POST https://finkiopendesk-be.onrender.com/auth/students/activate
Content-Type: application/json
token
string
required
The JWT activation token returned by POST /auth/students/create and delivered to the student via email.
password
string
required
The password the student wishes to set for their account.

Response

The response body is a plain JWT login token string. Use this token as a Bearer credential in the Authorization header for all authenticated endpoints.
(body)
string
A JWT login token. Include it as Authorization: Bearer <token> in subsequent requests.

Example

curl -X POST \
  "https://finkiopendesk-be.onrender.com/auth/students/activate" \
  -H "Content-Type: application/json" \
  -d '{
    "token": "eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJhMWIy...",
    "password": "s3cur3P@ssw0rd"
  }'
If the activation token has expired or is invalid, the request will fail. In that case, the student must restart the registration process via POST /auth/students/create.

Build docs developers (and LLMs) love