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.

Creates a general user account that is not tied to a student academic email. Unlike the student registration flow, this endpoint requires no email activation — the account is created and immediately active. A JWT login token is returned directly, so the caller can begin making authenticated requests without any additional steps.
This endpoint is public. No authentication is required.

Request

POST https://finkiopendesk-be.onrender.com/auth/users/create
Content-Type: application/json
email
string
required
The email address for the new account. Must be unique across all users.
password
string
required
The password for the new account.

Response

The response body is a plain JWT login token string. Use it 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/users/create" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "user@example.com",
    "password": "s3cur3P@ssw0rd"
  }'
This endpoint creates a non-student account. The student flag on the resulting user object will be false. To register a student account with an academic email, use POST /auth/students/create instead.

Build docs developers (and LLMs) love