Settings
Endpoints for reading and updating account settings, and managing API keys.
GET
/api/v1/settingsGet the current settings for the authenticated user.
Authentication
settings:readResponse
{
"settings": {
"isAcceptingQuestions": true,
"target": "anyone",
"allowAnonymous": true,
"notifyOnMisskey": true,
"primaryColor": "#7c3aed",
"textColor": "#1f2937",
"frameStyle": "default",
"bio": "Hello!",
"autoModeration": true,
"moderationThresholds": null,
"ngWords": [],
"driveFolderPath": "mewk",
"scheduledPostEnabled": false,
"scheduledPostHours": [],
"scheduledPostVisibility": "public",
"scheduledPostLocalOnly": false,
...
}
}PUT
/api/v1/settingsUpdate one or more settings fields. Only the provided fields are updated.
Authentication
settings:writeRequest Body
{
"isAcceptingQuestions": true,
"target": "anyone",
"allowAnonymous": true,
"acceptedQuestionTypes": ["normal", "request"], // [] = all accepted
"notifyOnMisskey": true,
"frameStyle": "default",
"primaryColor": "#7c3aed",
"textColor": "#1f2937",
"bio": "Hello!", // MFM supported, max 500 chars
"autoModeration": true,
"moderationThresholds": null, // null = システムデフォルト, or { "sexual": 0.8, "violence": 0.7, ... }
"scheduledPostEnabled": false,
"scheduledPostHours": [9, 18],
"scheduledPostVisibility": "public",
"scheduledPostLocalOnly": false // local only (no federation)
}Fields not included in the request body are left unchanged.
GET
/api/v1/settings/api-keysList all API keys for the authenticated user (secret values are not returned).
Authentication
Authentication required (any valid API key)