Skip to main content
POST
Preview a Salesforce case filter

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Body

application/json
filter_string
string
required

SOQL WHERE clause to validate

limit
integer
default:5

Number of sample records to return

Required range: 1 <= x <= 20
overlap_filters
OverlapFilter · object[]

Filters whose accounts this filter also returns are counted in overlaps

Maximum array length: 20

Response

200 - application/json

Successful Response

Whether the case filter runs, how many cases it returns, and a few of them.

is_valid
boolean
required
error_message
string | null
sample_cases
CaseSample · object[]
total_count
integer
default:0