API

Duplicate box

Duplicate a box and its expenses in the same budget.

Copies a box and its live expenses into the same budget. Does not copy the account link.

POST/v1/duplicate_box

Body

FieldTypeRequiredDefaultDescription
idempotencyKeystringYes—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.
budgetIdstringYes—Budget that owns the source box (edit access required).
boxIdstringYes—Source box to duplicate.
namestringNo—Name for the copy. Defaults to source name + (Copy).

Response data

FieldTypeDescription
idstringNew box id.
budgetIdstringSame budget as the source.
namestringName of the copy.
sourceBoxIdstringId of the box that was duplicated.
expensesarrayCopied expenses (id, boxId, name).