These endpoints handle the complete onboarding flow: a caller submits registration details, receives a verification email, confirms via the emailed token, and can later validate or re-trigger the verification process.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Rubick65/calenderyBack/llms.txt
Use this file to discover all available pages before exploring further.
Register a new user
Creates a new user record and publishes anOnRegistrationCompleteEvent that dispatches a verification email to the provided address. The account is created with enable = false until the email token is confirmed.
Request body
Optional. Numeric user ID — omit on creation; the server assigns the ID.
Display name. Must not be blank.
Valid email address. Validated with
@ValidEmail. Must not be blank.Short bio or description. Maximum 200 characters.
Password / passphrase for the account. Must not be blank.
URL of the user’s profile photo. Can be updated later via the signed-URL upload flow.
The user’s E2E encryption public key. Can be set or updated later via
PUT /api/users/app/publicKey.Response 200 OK
Newly assigned numeric user ID.
List of role names assigned to the user (e.g.
["ROLE_USER"]).Response
Confirm email registration token
Activates the user account by validating the one-time token included in the verification email. On success,user.enable is set to true.
Query parameters
The verification token from the registration email.
Response
| Status | Meaning |
|---|---|
200 OK | Account activated. Empty body. |
401 Unauthorized | Token has expired (ExpiredVerificationTokenException). |
404 Not Found | Token does not exist (TokenNotFoundException). |
Log in
Authenticates the caller using HTTP Basic credentials (email + password). On success, returns the user’s ID and assigned roles. TheAuthorization header must contain Basic <base64(email:password)>.
Response 200 OK
The authenticated user’s numeric ID.
List of role names (e.g.
["ROLE_USER"]).Response
Validate user account status
Returns a combined object containing the user’s identity and a boolean indicating whether their account is currently enabled. Useful before prompting a user to re-send a verification email.Query parameters
The email address of the user to validate.
Response 200 OK
Embedded
UserInfoResponseDto.true if the account has been activated via the email verification flow; false otherwise.Response
Confirm account is active
Checks that the specified user’s account is currently enabled and throws an error if it is not. RequiresROLE_USER and ownership (#idUsuario == authentication.principal.idUsuario). Typically called after login to gate access to protected app features.
Query parameters
Numeric ID of the user to check. Must match the authenticated principal.
Response
| Status | Meaning |
|---|---|
200 OK | Account is active. Empty body. |
403 Forbidden | idUsuario does not match the authenticated user. |
Resend registration verification token
Triggers a new verification email for the given user ID. Useful when the original token has expired or was never received.Query parameters
The numeric ID of the user who needs a new token.
Response
| Status | Meaning |
|---|---|
204 No Content | New verification email dispatched. Empty body. |