Skip to main content
POST
Validate a segment filter

Authorizations

Authorization
string
header
required

Organization API key, sent as Authorization: Bearer boom_org_....

Body

application/json
filterExpression
object
required

The audience filter: a tree of predicates over person attributes, related data, and events. Discover valid attr tokens and operators with segments_catalog (GET /api/v1/segments/catalog). A has_relationship predicate without path matches only objects linked to the person directly; for data reached through other objects (Person → buyer → onboarding), set path to a route from the catalog's reachableObjects.

Response

Success

valid
boolean
required

Always true when the filter is valid.

warnings
string[]

Advice about a valid filter, e.g. a relationship condition that will match nobody without a path.