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