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

Authorizations

X-Schematic-Api-Key
string
headerrequired

Body

application/json
company
object | null
user
object | null

Response

201 - application/json
data
object
required

The created resource

params
object
required

Input parameters