Skip to main content
POST
Preview a draft rule set
Replays an unsaved rule set against the team’s recent enrolments and reports what it would have done. Run this before saving. A rule that is too broad silently blocks every enrolment team-wide, and this is the cheapest way to find that out.

Authorizations

x-api-key
string
header
required

Team-scoped API key generated in the Salesfinity dashboard under Settings -> Connections & API. A missing or invalid key returns HTTP 403.

Body

application/json
user_id
string
required

The team member this call acts as. Must be an active member of the team the API key belongs to.

Example:

"507f1f77bcf86cd799439011"

rules
object[]

The draft rule set to measure. Unsaved.

Response

Success.

The outcome of an action. Shape varies by endpoint — for example enable returns the sequence and how many enrollments it activated, and a bulk verb returns how many rows it moved.