SDKs
Env vars and API URL for every FeatureToggle client.
Environment variables
| Variable | Required | Description |
|---|---|---|
FT_API_KEY | yes* | Skip if you pass the key to the constructor |
FT_POLL_INTERVAL | no | Poll interval in seconds when stream is off (default 30) |
*Required only when the SDK reads the key from the environment.
API URL
Base URL is https://api.featuretoggle.com. You pass an API key; you do not set a custom base URL. Contract: Feature API.