Copy an existing folder and create new documents inside the copied folder by making API calls to the following endpoints in their listed order. See each endpoint's listed reference section for more information.
- To return an existing folder, call GET /api/documents/path[docPath] (see Return the Document with the Specified Path).
- To copy the existing folder, call POST /api/documents/[docId]/copy (see Copy a Document to a Folder).
- To create a new document in the copied folder, call POST /api/documents/path[docPath] (see Create a Document in a Folder with the Specified Path).