JavaScript
import Morphik from 'morphik'; const client = new Morphik({ apiKey: 'My API Key', }); const folder = await client.folders.create({ name: 'name' }); console.log(folder.id);
{ "name": "<string>", "id": "<string>", "description": "<string>", "document_ids": [ "<string>" ], "system_metadata": {}, "app_id": "<string>", "end_user_id": "<string>" }
Create a new folder.
Request model for folder creation
Successful Response
Represents a folder that contains documents
Was this page helpful?