Integrate FolderCopilot's AI-powered folder generation into your applications with our RESTful API
The FolderCopilot API allows you to programmatically generate folder structures using our AI engine. All API requests must be authenticated and use HTTPS.
Base URL:
https://api.foldercopilot.com/v1
API requests are authenticated using API keys. Include your API key in the Authorization header.
curl -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ https://api.foldercopilot.com/v1/generate
Note: API keys are available for Pro and Team plan subscribers only.
/api/v1/generate
Generate a folder structure
/api/v1/projects
List user projects
/api/v1/projects/{id}
Get specific project
/api/v1/projects/{id}
Delete a project
const response = await fetch('https://api.foldercopilot.com/v1/generate', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ type: 'course', metadata: { courseName: 'Introduction to Psychology', semester: 'fall', courseOutline: 'Course covers basic psychology concepts...' } }) }); const data = await response.json(); console.log(data.structure);
The API uses conventional HTTP response codes to indicate success or failure.
Upgrade to Pro or Team plan to get your API key and start integrating FolderCopilot into your applications.