Feature Flags
Feature flags for the mobile app
Public. Returns every server-side feature flag as true, false or null. null means "no server opinion": the app keeps its built-in default for its flavor. When the request carries a valid backend session JWT, that user's per-user overrides are merged in; a missing, invalid or expired token returns the global values (never 401). Keys the app does not know should be ignored, and missing keys treated as null.
get/api/feature-flags
Request
- Base URLhttps://api.hiyd.ai
- Authnone required
Headers
Authorizationstring
Optional "Bearer <backend JWT>" to include the user's overrides
Response
Flag values
Example response
{
"flags": {
"coach": true,
"nutrition": null,
"sleep": false
}
}Changes
No recorded changes to this operation across all 1 revision of this API.