After a successful registration, TuKit sends a 5-digit verification code to the user’s email address. This endpoint validates that code and, if correct, flips the account’sDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/fredy-rizo/tukit/llms.txt
Use this file to discover all available pages before exploring further.
activate status from Inactivo (value "2") to Activado (value "1"). Until this step is completed the user cannot log in — the login endpoint will reject inactive accounts with a 403 response. The verification code is a one-time value generated at registration time and stored on the user document.
POST /api/user/verify-account
Authentication
No authentication required.Request Body
The email address used during registration. Must exactly match the address on file (the lookup is case-sensitive at the database level, so submit the address in the same form it was registered with).
The 5-digit verification code delivered to the user’s email inbox after registration. Codes consist of digits
1–5 only (each digit is generated via Math.ceil(Math.random() * 5)).Response
200 — Success
Human-readable confirmation that the account has been verified and the user may now log in.
Always
true on success.On success, two fields are updated on the user document internally:
login_code_confirmed is set to the verified code value, and activate is updated to [{ name: "Activado", value: "1" }]. Neither value is returned in the response body.Error Responses
| Status | Cause |
|---|---|
203 | No user found for the supplied email address. |
203 | The supplied code does not match the login_code stored on the user document. |
500 | Unexpected server or database error. |