Skip to main content
POST
/
rules
/
run
Run transaction rules
curl --request POST \
  --url https://api.finta.io/v2/rules/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ruleIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "scanned": 123,
  "matched": 123,
  "updated": 123
}

Authorizations

Authorization
string
header
required

Finta API key from the dashboard (Bearer token).

Body

application/json
ruleIds
string<uuid>[]

Specific rule IDs to run. Omit to run all active rules.

Response

Result of running the rules

scanned
integer
required

Number of transactions scanned

matched
integer
required

Number of transactions matched by a rule

updated
integer
required

Number of transactions updated