Skip to main content
GET
/
users
/
settings-info
curl -X GET https://api.falconalert.com/users/settings-info \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
{
  "is_reactions_enabled": 1,
  "is_review_enabled": 1,
  "is_reports_enabled": 1,
  "is_anonymous_reports_enabled": 0
}

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.

Get User Settings

Authentication

This endpoint requires a valid JWT Bearer token.
Authorization
string
required
Bearer token for authenticationFormat: Bearer <your_access_token>

Response

is_reactions_enabled
number
Enable or disable reactions feature
  • 0 - Disabled
  • 1 - Enabled
is_review_enabled
number
Enable or disable review feature
  • 0 - Disabled
  • 1 - Enabled
is_reports_enabled
number
Enable or disable reports feature
  • 0 - Disabled
  • 1 - Enabled
is_anonymous_reports_enabled
number
Enable or disable anonymous reports preference
  • 0 - Disabled
  • 1 - Enabled
curl -X GET https://api.falconalert.com/users/settings-info \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
{
  "is_reactions_enabled": 1,
  "is_review_enabled": 1,
  "is_reports_enabled": 1,
  "is_anonymous_reports_enabled": 0
}

Update User Settings

Update one or more user settings.

Authentication

Authorization
string
required
Bearer token for authenticationFormat: Bearer <your_access_token>

Request Body

All fields are optional. Include only the settings you want to update.
is_reactions_enabled
number
Enable or disable reactions featureValues: 0 (disabled) or 1 (enabled)
is_review_enabled
number
Enable or disable review featureValues: 0 (disabled) or 1 (enabled)
is_reports_enabled
number
Enable or disable reports featureValues: 0 (disabled) or 1 (enabled)
is_anonymous_preferred
number
Enable or disable anonymous preferenceValues: 0 (disabled) or 1 (enabled)

Response

is_reactions_enabled
number
Updated reactions setting
is_review_enabled
number
Updated review setting
is_reports_enabled
number
Updated reports setting
curl -X PUT https://api.falconalert.com/users/settings-info \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
  -H "Content-Type: application/json" \
  -d '{
    "is_reactions_enabled": 0,
    "is_reports_enabled": 1
  }'
{
  "is_reactions_enabled": 0,
  "is_review_enabled": 1,
  "is_reports_enabled": 1
}

Error Responses

Status CodeDescription
401Unauthorized - Invalid or missing JWT token
404Not Found - User not found

Notes

  • Settings are user-specific and control feature availability
  • All settings use binary values: 0 (disabled) or 1 (enabled)
  • When updating, only provide the settings you want to change
  • Settings take effect immediately after update