> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rushed.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Preferences

> Get the authenticated user's full preferences

## Headers

<ParamField header="X-API-Key" type="string" required>
  Your Rushed API key: `rsh_live_xxxxxxxxxxxx`
</ParamField>

## Response

<ResponseField name="success" type="boolean" required />

<ResponseField name="data" type="object" required>
  <Expandable title="UserPreferences">
    <ResponseField name="sectors" type="array">Sector codes the user follows</ResponseField>
    <ResponseField name="sectorWeights" type="object">Weight per sector (0–5)</ResponseField>
    <ResponseField name="topics" type="array">Topic codes the user follows</ResponseField>
    <ResponseField name="topicWeights" type="object">Weight per topic (0–5)</ResponseField>
    <ResponseField name="watchlistCompanies" type="array">Company entity IDs</ResponseField>
    <ResponseField name="watchlistTickers" type="array">Stock tickers</ResponseField>
    <ResponseField name="keywords" type="array">Custom keywords</ResponseField>
    <ResponseField name="keywordWeights" type="object">Weight per keyword</ResponseField>
    <ResponseField name="notificationSettings" type="object">Email, push, WhatsApp, breaking-only, min score</ResponseField>
    <ResponseField name="relevanceSettings" type="object">Multipliers for scoring algorithm</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://worker.rushed.com.br/api/users/preferences \
    -H "X-API-Key: rsh_live_xxxxxxxxxxxx"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 — Success theme={null}
  {
    "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 }
    }
  }
  ```
</ResponseExample>
