---
title: "Fire the rule on your transactions."
method: POST
path: "/v1/rules/{id}/trigger"
tags: ["rules"]
---

# Fire the rule on your transactions.

`POST /v1/rules/{id}/trigger`

## Request

- Base URL: `https://demo.firefly-iii.org/api`
- URL: `https://demo.firefly-iii.org/api/v1/rules/{id}/trigger`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://demo.firefly-iii.org/oauth/authorize`
    - Token URL: `https://demo.firefly-iii.org/oauth/token`
  - HTTP bearer

Fire the rule group on your transactions. Changes will be made by the rules in the group. Limit the result if you want to.

## Path parameters

- `id` string, required

## Query parameters

- `start` string, date
- `end` string, date
- `accounts[]` integer[]

## Headers

- `X-Trace-Id` string, uuid

## Response `204`

The rules in the group are executed. Due to the setup of this function (asynchronous job execution) the result cannot be displayed.

## Other responses

- `400`: Bad request
- `401`: Unauthenticated
- `404`: Page not found
- `500`: Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-3-0.md) - [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-3-0/llms.txt) - [OpenAPI document](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-3-0/revisions/ea05639f58ae?raw)
