API REFERENCE
Build on the FlagDrop API.
RESTful API for managing projects, flags, environments, segments, and config push. All endpoints return JSON.
Full Documentationarrow_forwardAUTHENTICATION
Two authentication methods
Clerk JWT
For dashboard and browser-based clients. Include the JWT in the Authorization header.
Authorization: Bearer <clerk_jwt>API Key
For server-to-server and CI/CD. Scoped per project with configurable permissions.
X-API-Key: fdrop_sk_...PROJECTS
GET/api/v1/projects
POST/api/v1/projects
GET/api/v1/projects/:id
PATCH/api/v1/projects/:id
DELETE/api/v1/projects/:id
FLAGS
GET/api/v1/projects/:id/flags
POST/api/v1/projects/:id/flags
GET/api/v1/flags/:id
PATCH/api/v1/flags/:id
DELETE/api/v1/flags/:id
POST/api/v1/flags/:id/toggle
ENVIRONMENTS
GET/api/v1/projects/:id/environments
POST/api/v1/projects/:id/environments
PATCH/api/v1/environments/:id
DELETE/api/v1/environments/:id
SEGMENTS
GET/api/v1/projects/:id/segments
POST/api/v1/projects/:id/segments
PATCH/api/v1/segments/:id
DELETE/api/v1/segments/:id
CONFIG PUSH
POST/api/v1/environments/:id/push
GET/api/v1/environments/:id/push/status
Ready to integrate?
Check out the full documentation for request/response schemas, error codes, and SDK examples.
Read the Docsarrow_forward