---
title: "Feature flags for the mobile app"
method: GET
path: "/api/feature-flags"
tags: ["Feature Flags"]
---

# Feature flags for the mobile app

`GET /api/feature-flags`

## Request

- Base URL: `https://api.hiyd.ai`
- URL: `https://api.hiyd.ai/api/feature-flags`
- Auth: none required

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.

## Headers

- `Authorization` string

## Response `200`

Flag values

- object
  - `flags` object

## Other responses

- `503`: Flags could not be read; the app keeps its cached values

---

[API](https://skmtc.dev/hiyd/apis/hiyd-backend-api.md) - [All operations](https://skmtc.dev/hiyd/apis/hiyd-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hiyd/apis/hiyd-backend-api/revisions/23598d347e1b?raw)
