POST
/
flags
/
{key}
/
check
curl --request POST \
  --url https://api.schematichq.com/flags/{key}/check \
  --header 'Content-Type: application/json' \
  --header 'X-Schematic-Api-Key: <api-key>' \
  --data '{
  "company": {},
  "user": {}
}'
{
  "data": {
    "company_id": "<string>",
    "error": "<string>",
    "reason": "<string>",
    "rule_id": "<string>",
    "user_id": "<string>",
    "value": true
  },
  "params": {}
}

Authorizations

X-Schematic-Api-Key
string
headerrequired

Path Parameters

key
string
required

key

Body

application/json
company
object | null
user
object | null

Response

200 - application/json
data
object
required

The returned resource

params
object
required

Input parameters