Getting Started
SwitchKit makes feature flagging simple for indie developers. No complex SDKs, no enterprise pricing, just simple on/off toggles for your features.
Quick Start
- Sign up for an account
- Create a new app in your dashboard
- Add your feature flags
- Use our simple REST API to check flag status in your code
API Reference
Fetch all flags for your app with a single endpoint:
GET /v1/flags
Authorization: Bearer {your-api-key}
Response:
{
"new_checkout": true,
"dark_mode": false,
"max_retries": 3
}
Best Practices
- Use descriptive flag names (e.g., "new_dashboard" not "flag1")
- Keep your API keys secure - never commit them to git
- Cache flag responses for 30-60 seconds to reduce API calls
- Clean up old flags when features are fully rolled out