Skip to main content
GET
/
api
/
v1
/
user
/
settings
Get user settings
curl --request GET \
  --url http://localhost:3000/api/v1/user/settings \
  --cookie nut-session=
{
  "success": true,
  "data": {
    "settings": {
      "theme": "light",
      "editorFontSize": 123,
      "terminalFontSize": 123,
      "autoSave": true,
      "notifications": {
        "enabled": true,
        "sound": true
      }
    }
  }
}

Authorizations

nut-session
string
cookie
required

Session cookie authentication

Response

User settings

success
boolean
required
data
object