User
Set Preferences
Cards
Collections
Friends
Api Keys
Members
Profiles
Review
Share
User
- PATCHSet Preferences
- PUTSet Preference Flag
- PUTSet Feature Preview Flag
- GETGet User Email Addresses
- GETGet Email
- DELDelete Email
- PUTMake Email Primary
- GETCheck Auth
- GETCheck If Fresh Access Token
- GETGet Current User
- PUTUpdate Current User
- PUTUpdate Current User Bio And Pic
- GETGet Pins
- PUTUpdate Pins
User
Set Preferences
Sets multiple preferences for the user
PATCH
/
v1
/
user
/
prefs
curl --request PATCH \
--url https://api.supernotes.app/v1/user/prefs \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"sort_type": 0,
"indent_type": 0,
"appearance_mode": -1,
"day_theme": 1,
"night_theme": 1,
"couple_key": "<string>",
"persona": 0,
"haptic_threshold": 0,
"daily_append_format": "plain"
}'
{
"indent_type": 0,
"sort_type": 0,
"appearance_mode": -1,
"day_theme": 1,
"night_theme": 1,
"couple_key": "<string>",
"persona": 0,
"haptic_threshold": 0,
"daily_append_format": "plain"
}
Authorizations
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request PATCH \
--url https://api.supernotes.app/v1/user/prefs \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"sort_type": 0,
"indent_type": 0,
"appearance_mode": -1,
"day_theme": 1,
"night_theme": 1,
"couple_key": "<string>",
"persona": 0,
"haptic_threshold": 0,
"daily_append_format": "plain"
}'
{
"indent_type": 0,
"sort_type": 0,
"appearance_mode": -1,
"day_theme": 1,
"night_theme": 1,
"couple_key": "<string>",
"persona": 0,
"haptic_threshold": 0,
"daily_append_format": "plain"
}