Skip to main content
POST
Preview a Salesforce account 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 filter runs, how many accounts it returns, and a few of them.

is_valid
boolean
required
error_message
string | null
overlaps
FilterOverlap · object[]
sample_accounts
AccountSample · object[]
total_count
integer
default:0