curl -X POST https://api.falconalert.com/users/register \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
-H "Content-Type: application/json" \
-d '{
"email": "john.doe@example.com",
"name": "John Doe",
"password": "securePassword123",
"role_id": "1"
}'
{
"user": {
"id": 2,
"name": "John Doe",
"email": "john.doe@example.com",
"username": "cool_john.527",
"salt": "go4fzup9s4m",
"created_at": "2025-09-25T14:59:41.000Z",
"updated_at": "2025-09-25T14:59:41.000Z",
"image_path": "profile-pictures/default.jpg",
"role_id": 1
},
"settings": [
{
"id": 7,
"user_id": 2,
"is_reactions_enabled": 1,
"is_review_enabled": 1,
"is_reports_enabled": 1
}
]
}
Register a new user in the FalconAlert system
curl -X POST https://api.falconalert.com/users/register \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
-H "Content-Type: application/json" \
-d '{
"email": "john.doe@example.com",
"name": "John Doe",
"password": "securePassword123",
"role_id": "1"
}'
{
"user": {
"id": 2,
"name": "John Doe",
"email": "john.doe@example.com",
"username": "cool_john.527",
"salt": "go4fzup9s4m",
"created_at": "2025-09-25T14:59:41.000Z",
"updated_at": "2025-09-25T14:59:41.000Z",
"image_path": "profile-pictures/default.jpg",
"role_id": 1
},
"settings": [
{
"id": 7,
"user_id": 2,
"is_reactions_enabled": 1,
"is_review_enabled": 1,
"is_reports_enabled": 1
}
]
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/4rt21/backend-proyecto/llms.txt
Use this file to discover all available pages before exploring further.
Bearer <your_access_token>name@domain.comJohn Doepassword1231 - Regular user (default)2 - Admin user1curl -X POST https://api.falconalert.com/users/register \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
-H "Content-Type: application/json" \
-d '{
"email": "john.doe@example.com",
"name": "John Doe",
"password": "securePassword123",
"role_id": "1"
}'
{
"user": {
"id": 2,
"name": "John Doe",
"email": "john.doe@example.com",
"username": "cool_john.527",
"salt": "go4fzup9s4m",
"created_at": "2025-09-25T14:59:41.000Z",
"updated_at": "2025-09-25T14:59:41.000Z",
"image_path": "profile-pictures/default.jpg",
"role_id": 1
},
"settings": [
{
"id": 7,
"user_id": 2,
"is_reactions_enabled": 1,
"is_review_enabled": 1,
"is_reports_enabled": 1
}
]
}
| Status Code | Description |
|---|---|
| 400 | Bad Request - Missing required fields or validation error |
| 401 | Unauthorized - Invalid or missing JWT token |