SDKs & API
REST API reference
Manage flags programmatically for CI pipelines, internal tooling, and bulk operations. Base
URL https://api.flagfish.co/v1
Authenticate with a bearer token in the Authorization header.
GET
/flags List all flags POST
/flags Create a flag PATCH
/flags/:key Toggle or update DELETE
/flags/:key Archive a flag Example: toggle a flag
$ curl -X PATCH https://api.flagfish.co/v1/flags/dark-mode \ -H "Authorization: Bearer ff_api_..." \ -d '{ "enabled": true }'
Rate limit: 120 requests/min per key. Responses are JSON; errors follow the standard { error, message } shape.