Skip to main content

Flags API

The Flags API lets you create, read, update, and delete feature flags programmatically.

MethodEndpointDescription
GET/api/flagsList all flags in a project
POST/api/flagsCreate a new flag
GET/api/flags/:keyGet a flag by key
PUT/api/flags/:keyUpdate a flag
DELETE/api/flags/:keyDelete a flag

Flag objects include the flag key, name, description, type (boolean or multivariate), variants, and per-environment targeting rules. All endpoints require a valid JWT token in the Authorization header.

note

Full request/response schemas and examples are coming soon.