GET /api/settings/get to read your current configuration, and POST /api/settings/set to update any combination of fields in a single request. You must be logged in with a verified email address to use either endpoint.
GET /api/settings/get
Returns your complete profile and settings object.Response
200 OK:
Your unique login username. This value is read-only and cannot be changed via the Settings API.
Error codes
POST /api/settings/set
Updates any combination of your profile fields. All fields are optional β only the keys you include are modified. Fields you omit remain unchanged.Request body
Your new public display name. Must be a non-empty string β if you send an empty string or omit this field, the display name is left unchanged.
A short status message or quote shown on your profile. Maximum 100 characters. Send an empty string to clear it.
Your profile accent color. Must be a valid CSS hex color in
#RGB (3-digit) or #RRGGBB (6-digit) format, e.g. "#a78bfa" or "#f0f". Send an empty string to clear it.A settings object whose keys replace your stored settings. Currently supports:
accepts_friend_requests(boolean) β Set tofalseto make your profile private and block incoming friend requests. Set back totrueto restore visibility.
Response
200 OK β "Success".