Homarr
Manage users and preferences

Get user preferences

GET/api/users/preferences

Read every preference as structured JSON. Omit userId for the current user; reading another user requires admin permission.

ApiKey<token>

API key which can be obtained in the Homarr administration dashboard

In: header

Query Parameters

userId?string
Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/users/preferences"
{  "colorScheme": "auto",  "byteUnitSystem": "binary",  "firstDayOfWeek": 0,  "pingIconsEnabled": true,  "enableRightClickOnWidgets": true,  "homeBoardId": "string",  "mobileHomeBoardId": "string",  "defaultSearchEngineId": "string",  "openSearchInNewTab": true,  "ddgBangs": true,  "headerPreferences": {    "version": 3,    "visible": true,    "searchDisplay": "input",    "logoDisplay": "logo",    "zones": {      "left": [        {          "type": "builtin",          "id": "logo"        }      ],      "center": [        {          "type": "builtin",          "id": "logo"        }      ],      "right": [        {          "type": "builtin",          "id": "logo"        }      ]    }  },  "userId": "string"}