Preferences
Get Preferences
Get the authenticated user’s full preferences
GET
/
api
/
users
/
preferences
curl https://worker.rushed.com.br/api/users/preferences \
-H "X-API-Key: rsh_live_xxxxxxxxxxxx"
{
"success": true,
"data": {
"sectors": ["FIN", "TEC"],
"sectorWeights": { "FIN": 3.0, "TEC": 2.0 },
"topics": ["M&A", "IPO", "REG"],
"topicWeights": { "M&A": 2.5 },
"watchlistCompanies": [],
"watchlistTickers": ["PETR4", "VALE3"],
"keywords": ["petrobras", "selic"],
"keywordWeights": { "petrobras": 3.0, "selic": 2.0 },
"notificationSettings": { "email": true, "push": false, "whatsapp": false, "breakingOnly": false, "minScore": 50 },
"relevanceSettings": { "sectorMultiplier": 1.5, "topicMultiplier": 1.3, "keywordMultiplier": 2.0, "watchlistMultiplier": 3.0, "breakingNewsMultiplier": 2.5, "exclusiveMultiplier": 1.5, "recencyDecayEnabled": true, "recencyDecayHours": 24 }
}
}
Headers
Your Rushed API key:
rsh_live_xxxxxxxxxxxxResponse
Show UserPreferences
Show UserPreferences
Sector codes the user follows
Weight per sector (0–5)
Topic codes the user follows
Weight per topic (0–5)
Company entity IDs
Stock tickers
Custom keywords
Weight per keyword
Email, push, WhatsApp, breaking-only, min score
Multipliers for scoring algorithm
curl https://worker.rushed.com.br/api/users/preferences \
-H "X-API-Key: rsh_live_xxxxxxxxxxxx"
{
"success": true,
"data": {
"sectors": ["FIN", "TEC"],
"sectorWeights": { "FIN": 3.0, "TEC": 2.0 },
"topics": ["M&A", "IPO", "REG"],
"topicWeights": { "M&A": 2.5 },
"watchlistCompanies": [],
"watchlistTickers": ["PETR4", "VALE3"],
"keywords": ["petrobras", "selic"],
"keywordWeights": { "petrobras": 3.0, "selic": 2.0 },
"notificationSettings": { "email": true, "push": false, "whatsapp": false, "breakingOnly": false, "minScore": 50 },
"relevanceSettings": { "sectorMultiplier": 1.5, "topicMultiplier": 1.3, "keywordMultiplier": 2.0, "watchlistMultiplier": 3.0, "breakingNewsMultiplier": 2.5, "exclusiveMultiplier": 1.5, "recencyDecayEnabled": true, "recencyDecayHours": 24 }
}
}
⌘I
curl https://worker.rushed.com.br/api/users/preferences \
-H "X-API-Key: rsh_live_xxxxxxxxxxxx"
{
"success": true,
"data": {
"sectors": ["FIN", "TEC"],
"sectorWeights": { "FIN": 3.0, "TEC": 2.0 },
"topics": ["M&A", "IPO", "REG"],
"topicWeights": { "M&A": 2.5 },
"watchlistCompanies": [],
"watchlistTickers": ["PETR4", "VALE3"],
"keywords": ["petrobras", "selic"],
"keywordWeights": { "petrobras": 3.0, "selic": 2.0 },
"notificationSettings": { "email": true, "push": false, "whatsapp": false, "breakingOnly": false, "minScore": 50 },
"relevanceSettings": { "sectorMultiplier": 1.5, "topicMultiplier": 1.3, "keywordMultiplier": 2.0, "watchlistMultiplier": 3.0, "breakingNewsMultiplier": 2.5, "exclusiveMultiplier": 1.5, "recencyDecayEnabled": true, "recencyDecayHours": 24 }
}
}