Transactions

Bulk Remove Tags

POST
/v1/households/{household_id}/transactions/bulk-remove-tags

Removes only the given tags from non-deleted transactions, leaving other tags and the tags themselves intact. Hidden transactions are eligible; split parents and deleted-account transactions are skipped.

Every tag ID must be an active household tag, or the whole request fails. A valid batch returns 200 with updated transactions (including ones already in the requested state) and a skipped list for missing or ineligible IDs. Duplicate IDs are processed once. See Bulk operations for skip codes.

Authorization

PersonalApiToken
AuthorizationBearer <token>

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

household_id*string

ID of the household that owns the resource. GET /v1/households lists the households you can access.

Request Body

application/json

transaction_ids*array<string>

IDs of the transactions whose tags should change. IDs that are not found, deleted or split parents are skipped.

Items1 <= items <= 1000
tag_ids*array<string>

IDs of the tags to add or remove from every matched transaction, depending on the endpoint. Other tags are preserved. Each must be an active tag in the household, or the request fails with tag_not_found before anything is changed. Repeated IDs are handled once.

Items1 <= items <= 1000

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.penny.finance/v1/households/Hh4vK8pQ2sLm/transactions/bulk-remove-tags" \  -H "Authorization: Bearer $PENNY_API_TOKEN" \  -H "Content-Type: application/json" \  --data-raw '{  "transaction_ids": [    "Tx3fJ9mS6vBa"  ],  "tag_ids": [    "Tg8qN1cK5rWd"  ]}'
{  "transactions": [    {      "id": "Tx3fJ9mS6vBa",      "original_name": "TRADER JOE'S #142",      "custom_name": "Weekly groceries",      "amount": {        "amount": "-54.20",        "currency": "USD"      },      "native_amount": {        "amount": "-54.20",        "currency": "USD"      },      "lat": 37.7764,      "lon": -122.4231,      "pending": false,      "classification": "FOOD_AND_DRINK_GROCERIES",      "account": {        "id": "Ac7kP2mN9qRs",        "mask": "4821",        "name": "Everyday Checking",        "type": "depository",        "current_balance": {          "amount": "2481.33",          "currency": "USD"        },        "currency": "USD",        "household_id": "Hh4vK8pQ2sLm",        "custom_name": null      },      "category": {        "id": "Ct5nR8wY1jFu",        "name": "Groceries",        "emoji": "🥬",        "category_type": "expense",        "group_id": "Cg2mV7pL4zXe"      },      "merchant": {        "id": "Mr9dL3xT6bQa",        "name": "Trader Joe's",        "website": "https://www.traderjoes.com/",        "image_url": "https://cdn.penny.finance/merchants/trader-joes.png",        "default_image_url": "https://cdn.penny.finance/logos/trader-joes.png",        "transaction_count": 18      },      "image_url": "https://cdn.penny.finance/merchants/trader-joes.png",      "image_kind": "merchant",      "tags": [        {          "id": "Tg8qN1cK5rWd",          "name": "Shared",          "color": "#6D5BD0"        }      ],      "hidden_at": null,      "deleted_at": null,      "listing": "visible",      "pending_transaction_id": null,      "date": "2026-08-14",      "transacted_at": "2026-08-14T15:38:00Z",      "needs_review": false,      "is_editable": true,      "notes": "Groceries and paper towels",      "created_at": "2026-08-14T15:41:27Z",      "updated_at": "2026-08-14T16:02:11Z",      "name": "Weekly groceries",      "split_parent_id": null,      "split_child_ids": [],      "is_recurring": false    }  ],  "skipped": []}