Skip to main content
POST
Preview a segment

Authorizations

Authorization
string
header
required

API key from the Rigaly dashboard: Authorization: Bearer rgly_sk_...

Body

application/json
preset_id
string
Example:

"big_spenders"

filters
object

Custom FilterSpec (alternative to preset_id)

Response

200 - application/json

Count + sample

success
boolean
Example:

true

message
string
data
object