Skip to content

Direct API Access

You can access the API directly with tools like curl or httpie, or with clients for languages that we do not currently have SDKs for.

API Explorer

You can view the API via Swagger at

Environment Key

Publicly accessible API calls need to have an environment key supplied with each request. This is provided as an HTTP header, with the name X-Environment-Key and the value of the environment API key that you can find within the Flagsmith administrative area.

Curl Example

curl '' -H 'X-Environment-Key: TijpMX6ajA7REC4bf5suYg'

httpie Example

http GET '' 'X-Environment-Key':'TijpMX6ajA7REC4bf5suYg'