Copy pages
duplicateCopy pages. Each copy keeps its layers, names, motion and input descriptions. A copy never replaces a page or a template. With template_id, the copies are added to that template (it can be the pages' own template). Without template_id, a new template is made and the first copy is its first page. To copy a whole template, give all its pages from pages list. With width and height, each copy gets that page size, and the flows and constraints place its layers again: render the copy and adjust it for the new size.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The new template's name (default: the source template's name with "copy"). | |
| width | No | Page width of each copy in px, with height. | |
| height | No | Page height of each copy in px, with width. | |
| page_ids | Yes | The pages to copy, in order (their page_ids from pages list or create_design). | |
| template_id | No | Add the copies to this template. Leave it out to make a new template. |