⚠️ Flipt Cloud is shutting down on August 29, 2025. Learn more about this decision and next steps in our blog post.
curl --request POST \
--url https://try.flipt.io/ofrep/v1/evaluate/flags \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-Flipt-Namespace: <namespaceKey>' \
--data '{
"context": {
"flags": ["flagKey1", "flagKey2", "flagKey3"],
"targetingKey": "targetingKey1"
},
}'
{
"flags": [
{
"key": "<string>",
"reason": "UNKNOWN",
"variant": "<string>",
"metadata": {},
"value": "<any>"
}
]
}
OFREP bulk flag evaluation
curl --request POST \
--url https://try.flipt.io/ofrep/v1/evaluate/flags \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-Flipt-Namespace: <namespaceKey>' \
--data '{
"context": {
"flags": ["flagKey1", "flagKey2", "flagKey3"],
"targetingKey": "targetingKey1"
},
}'
{
"flags": [
{
"key": "<string>",
"reason": "UNKNOWN",
"variant": "<string>",
"metadata": {},
"value": "<any>"
}
]
}
curl --request POST \
--url https://try.flipt.io/ofrep/v1/evaluate/flags \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-Flipt-Namespace: <namespaceKey>' \
--data '{
"context": {
"flags": ["flagKey1", "flagKey2", "flagKey3"],
"targetingKey": "targetingKey1"
},
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.
Was this page helpful?