Rules
Preview a rule against transactions (dry-run)
Changed onAccepts either a rule_id to load an existing rule, or an inline rule definition (conditions + actions). Provide an array of transaction_ids to test against — each transaction must belong to the authenticated user. No data is persisted.
Action values support Liquid templates for dynamic expressions. Use {{ transaction.field_name }} to reference fields and Liquid filters (remove, regex_capture, date_add, remove_at, keep_at, etc.) to transform values. Plain strings are treated as literal values.
post/rules/preview
Request
- Base URLhttps://api.synci.io/api/v1
- Auth
- OAuth 2Authorization code: https://api.synci.io/oauth/authorizeToken URL: https://api.synci.io/oauth/token
- or HTTP bearer
Request body
Response
Changes
- info
the request property
became nullable
- info
- breaking
the
///response's property type changed fromstringnullto no type for status - breaking
the
///response's property type changed fromstringnullto no type for status
- breaking