Authentication
Register User
Create a new user account in the system
POST
Register User
Description
Creates a new user account in the system. The user is created with the “user” role (role_id: 2) by default. The password must meet security requirements (minimum 8 characters, uppercase, lowercase, number, and special character).Authentication
This endpoint is public and does not require authentication.Rate Limiting
- Limit: 50 requests per 15 minutes per IP address
- Error Message: “Demasiadas peticiones desde esta IP, por favor intente más tarde.”
Request Body
Full name of the user
User’s email address (must be valid format)
User’s password (minimum 8 characters, must include uppercase, lowercase, number, and special character)
Response
Indicates if the request was successful
Human-readable response message
Response data containing user information and authentication token
Example Request
cURL
JavaScript
Python
Success Response (201)
Error Responses
400 - Missing Required Fields
400 - Invalid Email Format
400 - Weak Password
409 - Email Already Registered
500 - Internal Server Error
Register User
