Copies a box and its live expenses into the same budget. Does not copy the account link.
POST
/v1/duplicate_boxBody
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| idempotencyKey | string | Yes | — | Client-generated key (1–128 chars: letters, digits, . _ : -). Same key + same body replays; different body returns 409. Prefer Idempotency-Key HTTP header when calling the Tools API. |
| budgetId | string | Yes | — | Budget that owns the source box (edit access required). |
| boxId | string | Yes | — | Source box to duplicate. |
| name | string | No | — | Name for the copy. Defaults to source name + (Copy). |
Response data
| Field | Type | Description |
|---|---|---|
| id | string | New box id. |
| budgetId | string | Same budget as the source. |
| name | string | Name of the copy. |
| sourceBoxId | string | Id of the box that was duplicated. |
| expenses | array | Copied expenses (id, boxId, name). |