Fuselage
Powered By GitBook
Get User Preferences
Gets all preferences of the user.
URL
Requires Auth
HTTP Method
/api/v1/users.getPreferences
yes
GET

Example Call

1
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
2
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
3
-H "Content-type:application/json" \
4
http://localhost:3000/api/v1/users.getPreferences
Copied!

Example Result

1
{
2
"preferences": {
3
"newRoomNotification": "door",
4
"newMessageNotification": "chime",
5
"muteFocusedConversations": true,
6
"useEmojis": true,
7
"convertAsciiEmoji": true,
8
"saveMobileBandwidth": true,
9
"collapseMediaByDefault": false,
10
"autoImageLoad": true,
11
"emailNotificationMode": "all",
12
"roomsListExhibitionMode": "category",
13
"unreadAlert": true,
14
"notificationsSoundVolume": 100,
15
"desktopNotifications": "default",
16
"mobileNotifications": "default",
17
"enableAutoAway": true,
18
"highlights": [],
19
"desktopNotificationDuration": 0,
20
"viewMode": 0,
21
"hideUsernames": false,
22
"hideRoles": false,
23
"hideAvatars": false,
24
"hideFlexTab": false,
25
"sendOnEnter": "normal",
26
"roomCounterSidebar": false
27
},
28
"success": true
29
}
Copied!
Last modified 2mo ago
Export as PDF
Copy link