---
title: "Park a work item server-side"
method: POST
path: "/accountant/companies/{customerId}/agent/parks"
tags: ["Accountant Portal"]
---

# Park a work item server-side

`POST /accountant/companies/{customerId}/agent/parks`

## Request

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

Persists or updates an active park record for a work item key so worker restarts do not re-attempt it until cleared or expired.

## Path parameters

- `customerId` string, uuid, required

## Request body

- object
  - `workItemKey` string, required
  - `reasonCode` string, required
  - `detail` object
  - `parkedByRunId` string, uuid, nullable
  - `parkedUntil` string, date-time, nullable

## Response `200`

Upserted park record

- object

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found
- `422`: Request failed validation

## Changes

- **2026-11-28** `24ced4d421d8`: 1 info
  - endpoint added

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