---
title: "Approve the replay pass of one action type (F8)"
method: POST
path: "/accountant/companies/{customerId}/agent/live-approvals"
tags: ["Accountant Portal"]
---

# Approve the replay pass of one action type (F8)

`POST /accountant/companies/{customerId}/agent/live-approvals`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/agent/live-approvals`
- Auth: HTTP bearer

A human super-admin's yes to the exact immutable replay report on record for one action type at the customer (Jacob 2026-11-11, #21: "Live needs a replay and Jacob's yes"). The body must name `replayReportRef` matching the pass on record so a stale approval cannot attach to a newer report. Who and when are the signed-in person and the server's clock. 409 AGENT_LIVE_APPROVAL_NEEDS_REPLAY_PASS while no pass is on record, or 409 AGENT_LIVE_APPROVAL_REPORT_MISMATCH when the stored replay report differs from `replayReportRef`. The same policy holds as the move to live apply (409 AGENT_CASH_BASIS_HOLD, AGENT_POLICY_FACTS_UNCONFIRMED; migration 643). A repeat for the same report answers the approval already recorded (200). Both service keys get 404; anyone else 403 SUPER_ADMIN_REQUIRED. Another replay report withdraws the approval. Leaves an audit row.

## Path parameters

- `customerId` string, uuid, required

## Request body

- object
  - `actionType` 'categorize' | 'documents' | 'transfers.pairs' | 'revenue' | 'bills' | 'close', required
  - `replayReportRef` string, required

## Response `200`

The record already on record, unchanged

- object
  - `success` boolean, required
  - `data` object, required
    - `approval` AgentLiveApprovalRecord, required
      - [`AgentLiveApproval`](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b/schema?at=%2Fcomponents%2Fschemas%2FAgentLiveApproval)
      - object
        - `companyId` string, uuid, required
        - `actionType` 'categorize' | 'documents' | 'transfers.pairs' | 'revenue' | 'bills' | 'close', required
    - `created` boolean, required

## Other responses

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

## Changes

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

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/agent/live-approvals/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)
