v1

latestOpenAPI 3.1.02026-07-2618690613.4 KB
Documents

Duplicate published document

Duplicate a published document.

post/v1/documents/{documentId}/duplicate

Path parameters

documentIdstring required

Document identifier

Query parameters

userIdstring

Requires an Organization API key. Optional user ID that attributes the action to the specified user.

Request body

namestring required

The name for the duplicated document

folderPathstring nullable

Path to the destination folder. If not provided, the document will be duplicated to the root.

scope'organization' | 'restricted'

The visibility scope for the duplicated document.

If not provided, inherits from the destination folder or defaults to restricted.

Response

Document duplicated successfully

dashboardIdstring

The dashboard ID, if the duplicated document has a dashboard

identifierstring

Unique identifier for the newly created document

namestring

The name of the duplicated document

workbookIdstring

The workbook ID of the duplicated document