All settings endpoints require admin authentication.
Get All Settings
Get an overview of all system settings.Response
Cloudflare Settings
Get Cloudflare Settings
Response
Masked API token (”********” if set, "" if not set)
Whether an API token is configured
Cloudflare zone ID
Domain name
Whether Cloudflare integration is enabled
Update Cloudflare Settings
Request Body
Cloudflare API token (send ”********” to keep existing)
Cloudflare zone ID
Domain name
Enable/disable integration
Test Cloudflare Connection
Response
Whether connection test succeeded
Zone information if successful
Error message if test failed
Subdomain Settings
Get Subdomain Settings
Response
Whether subdomain system is enabled
Base domain for subdomains
Whether to automatically provision DNS
DNS provider: “cloudflare” or “manual”
Update Subdomain Settings
Request Body
Enable/disable subdomain system
Base domain
Auto-provision DNS records
DNS provider: “cloudflare” or “manual”
Email Settings
Get Email Settings
Response
Email provider: “smtp”, “resend”, “sendgrid”, “mailgun”
From email address
From name
SMTP configuration (password masked)
Masked API key (”********” if set)
Whether an API key is configured
Update Email Settings
Request Body
Email provider
From email address (must be valid email)
From name
SMTP configuration
API key for providers like Resend, SendGrid, Mailgun (send ”********” to keep existing)
Test Email Configuration
Request Body
Email address to send test email to
Response
Whether test email was sent successfully
Success message
Error message if test failed
Branding Settings
Get Branding Settings
Response
Application name (1-50 characters)
Logo URL
Favicon URL
Primary color (hex format)
Support email address
Support URL
Terms of service URL
Privacy policy URL
Footer text (max 200 characters)
Custom CSS (max 10000 characters)
Update Branding Settings
Request Body
Application name (1-50 characters)
Logo URL (must be valid URL or null)
Favicon URL (must be valid URL or null)
Primary color (must be hex format like #3b82f6)
Support email (must be valid email)
Support URL (must be valid URL or null)
Terms URL (must be valid URL or null)
Privacy URL (must be valid URL or null)
Footer text (max 200 characters)
Custom CSS (max 10000 characters)
Get Public Branding
Public endpoint for frontend to retrieve branding (no authentication required).Response
Returns public-safe branding information (excludes customCss for security).Auto-Shutdown Settings
Get Auto-Shutdown Settings
Response
Whether auto-shutdown is enabled globally
Inactivity timeout in minutes (1-10080, default 60)
Update Auto-Shutdown Settings
Request Body
Enable/disable auto-shutdown globally
Timeout in minutes (1-10080, where 10080 = 7 days)