Direct API Access
You can view the API via Swagger at https://api.flagsmith.com/api/v1/docs/.
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 'https://api.flagsmith.com/api/v1/flags/' -H 'X-Environment-Key: TijpMX6ajA7REC4bf5suYg'
http GET 'https://api.flagsmith.com/api/v1/flags/' 'X-Environment-Key':'TijpMX6ajA7REC4bf5suYg'