Skip to main content
POST
Create a new screening fact for your brand

Authorizations

Authorization
string
header
required

Per-client API key (M2M). Presented as Authorization: Bearer <key>.

Headers

X-Brand-Id
string
required

Your brand id (brd_...). It must be one of the brands your API key's account owns; with a publishable key it must be the one brand the key was issued for. A missing or malformed value is refused with 400, and an unknown or foreign brand with 404.

Pattern: ^brd_[A-Za-z0-9][A-Za-z0-9_-]*$

Body

application/json

mint a new brand-namespaced screening fact (phi_class 'none' is STRUCTURAL — not a field)

cardinality
enum<string>
required
Available options:
single,
multi
slug
string
required

a human slug namespaced into the brand code space (q_<brand>_<slug>)

value_type
enum<string>
required
Available options:
boolean,
integer,
decimal,
string,
date,
coded,
coded_set,
measurement
note
string
options
object[]

required for a multiple-choice fact — the stable option codes

Response

the minted fact

value
object
required

a minted screening fact — brand-namespaced code, phi_class 'none' by construction