Get Rule
Returns an active rule's priority, matching criteria, and actions. All set criteria must match for the rule to apply.
Authorization
PersonalApiToken Personal API token (penny_pat_…). Paste only the token; the Bearer prefix is added automatically. Read-only tokens only allow read requests, and read/write tokens follow your current household membership and role. See https://penny.finance/docs/api#authentication.
In: header
Path Parameters
ID of the household that owns the resource. GET /v1/households lists the households you can access.
ID of the categorization rule.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.penny.finance/v1/households/Hh4vK8pQ2sLm/rules/Rl9cF3nV7sQa" \ -H "Authorization: Bearer $PENNY_API_TOKEN"{ "id": "Rl9cF3nV7sQa", "priority": 1, "account_ids": [ "Ac7kP2mN9qRs" ], "deleted_accounts": [], "merchant_ids": null, "deleted_merchants": [], "category_ids": null, "deleted_categories": [], "amount_filter": { "currency": "USD", "direction": "expense", "operator": "between", "value": "20.00", "value_upper": "200.00" }, "classifications": [ "FOOD_AND_DRINK_GROCERIES" ], "name_conditions": [ { "pattern": "trader joe", "mode": "contains" } ], "filter_uncategorized": false, "set_category_id": "Ct5nR8wY1jFu", "set_merchant_id": null, "apply_tag_ids": [ "Tg8qN1cK5rWd" ], "deleted_tags": [], "set_hidden": false, "set_needs_review": null, "applied_count": null}Dry Run Rule POST
Previews which visible transactions match a set of rule criteria without saving a rule or changing data. All set criteria must match; sending none matches…
Update Rule PATCH
Updates a rule in place, keeping its priority order. Send only the fields you want to change; omitted fields keep their latest values, including edits made…