---
title: "Approve, edit, reject or snooze an Inbox item (#4356)"
method: POST
path: "/accountant/inbox-items/{id}/decision"
tags: ["Accountant Portal"]
---

# Approve, edit, reject or snooze an Inbox item (#4356)

`POST /accountant/inbox-items/{id}/decision`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/inbox-items/{id}/decision`
- Auth: HTTP bearer

A signed-in person's decision on an open item. When it has an effect (`decision.effect: held`: post Penny's proposal or the person's edit `edits.categoryGlAccountId`, close her question with that answer, send a rejection's `note` back to her as the answer in words, decide a held row), the effect is held 10 seconds (`effect.dueAt`; undo inside it), then carried out as this person; a failure leaves `effect.state: failed` with the reason and the item open again for a retry. Otherwise it is recorded only (`recorded_only`). An item that closes by its own action (Jacob's five types: assign a client, get the journal, record how it was paid, reconnect, wait for the statement) answers 400 `INBOX_CLOSES_ELSEWHERE` to approve, edit and reject. A rejection with an effect needs `note`. `approve` and `edit` (with `edits`) end `approved`, `reject` ends `rejected`, `snooze` (with `snoozeUntil`, in the future and at most 30 days out) ends `snoozed` until then. Stores who decided and when. When the client has a preparer or reviewer, approve and edit require one of those assigned people or the firm admin (403 `CLIENT_APPROVER_REQUIRED`). An item that is not open answers 409 `INBOX_ITEM_NOT_OPEN`; a bad body or snooze time answers 400. Every API key is refused, the service token included.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `action` 'approve' | 'edit' | 'reject' | 'snooze', required
  - `edits` object: Required for edit, only for edit; at most 16 KB.
  - `snoozeUntil` string, date-time: Required for snooze, only for snooze.
  - `note` string

## Response `200`

The item with its recorded decision

- InboxItemEnvelope
  - `success` true, required
  - `data` InboxItem, required: An accountant Inbox item (#4356). `status` is as the caller sees it.
    - `id` string, uuid, required
    - `customerId` string, uuid, nullable, required
    - `customerName` string, nullable, required
    - `family` 'categorize' | 'rule_approval' | 'transfer_match' | 'clearing_old' | 'plaid_reconnect' | 'draft_reply' | 'followup_send' | 'stale_thread' | 'variance_review' | 'close_ready' | 'close_blocker' | 'je_review' | 'stop_trigger' | 'recon_diff' | 'onboarding_confirm', required
    - `card` 'ask_which_client' | 'payroll_journal_missing' | 'receipt_with_no_bank_row' | 'bank_reconnect' | 'statement_not_in_yet' | 'trust_ledger_violation', nullable, required
    - `kind` 'categorize' | 'reconcile' | 'revenue' | 'bills' | 'close_prep' | 'held_document' | 'stripe_hold' | 'quickbooks_change' | 'bank_feeds' | 'client_change' | 'mail', required: The row label of wireframe page 3.
    - `group` 'ready' | 'review' | 'blocked', required
    - `waitingSince` string, date-time, required: The one time every age on every screen reads (P8).
    - `owner` object, nullable, required: Named on the item, else the client's primary accountant; null for mail with no client.
      - `accountantId` string, uuid, required
      - `name` string, required
    - `closingAction` 'approve' | 'answer' | 'decide' | 'close_flag' | 'assign_client' | 'get_journal' | 'record_payment' | 'reconnect' | 'await_statement' | 'resolve_at_source' | 'sign_off', required: The one action that closes the item (Jacob, P6).
    - `blocksCloseStep` string, nullable, required
    - `sourceTaskId` string, uuid, nullable, required: The accountant task the item stands for.
    - `effect` object, nullable, required
      - `state` 'held' | 'running' | 'done' | 'failed', required
      - `dueAt` string, date-time, nullable, required: Undo is possible until then.
      - `error` string, nullable, required
    - `title` string, required
    - `amountCents` integer, nullable, required
    - `typePayload` object, required
    - `status` 'open' | 'approved' | 'rejected' | 'snoozed' | 'closed', required
    - `snoozedUntil` string, date-time, nullable, required
    - `decidedBy` string, uuid, nullable, required
    - `decidedAt` string, date-time, nullable, required
    - `decision` object, nullable, required
    - `createdAt` string, date-time, required

## Other responses

- `400`: Request failed validation
- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found
- `409`: Request conflicts with the durable onboarding state

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/inbox-items/:id/decision/post.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
