The Tikera API uses token-based authentication. CallingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/raczkodavid/Tikera/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/register or POST /api/login returns a bearer token. Include that token in the Authorization header on every subsequent request that requires authentication.
Register
Create a new user account and receive an authentication token.Request body
The user’s display name. Maximum 255 characters.
A valid, unique email address. Maximum 255 characters.
The account password. Minimum 8 characters.
Must match the
password field exactly.Response fields
Always
"success" on a 201 response.Always
"OK" on success.Example
Errors
| HTTP status | message | When |
|---|---|---|
422 | Registration failed due to validation errors | A field is missing, invalid, or email is taken |
500 | Registration failed. Please try again later. | Unexpected server error |
Log in
Authenticate an existing user and receive a fresh token.Request body
The account’s email address.
The account’s password.
Response fields
Always
"success" on a 200 response.Always
"OK" on success.Example
Errors
| HTTP status | message | When |
|---|---|---|
401 | Invalid credentials | Email not found or wrong password |
500 | Logon failed. Please try again later. | Unexpected server error |
Pass the token
Include the token in theAuthorization header on every protected request:
localStorage under the key "token" and attaches it automatically to every outgoing request.
Get the current user
Return the user object associated with the current token.Response fields
Always
"success" on a 200 response.The authenticated user object (
id, name, email, role, timestamps).Example
Log out
Invalidate the current session token. The token cannot be used after this call.Example
Only the token used in the request is invalidated. Other tokens belonging to the same user (if any exist) are unaffected — though in practice, logging in always replaces all existing tokens with one new token.