Skip to main content

Get identity flags and traits

GET 

https://edge.api.flagsmith.com/api/v1/identities

Retrieve the flags and traits for an identity. Note: identity will be lazily created if it does not already exist.

Request

Responses

OK

Authorization: X-Environment-Key

name: X-Environment-Keytype: apiKeyin: header
import http.client

conn = http.client.HTTPSConnection("edge.api.flagsmith.com")
payload = ''
headers = {
'Accept': 'application/json',
'X-Environment-Key': '<API_KEY_VALUE>'
}
conn.request("GET", "/api/v1/identities", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Request Collapse all
Base URL
https://edge.api.flagsmith.com/api/v1
Auth
Parameters
— queryrequired
ResponseClear

Click the Send API Request button above and see the response here!