Store, manage, and access your files with our powerful API and TypeScript SDK. Built for developers who need reliable, scalable file storage.
Isolated projects with independent file storage, API keys, and access controls for each tenant.
API key-based authentication with origin whitelisting to ensure only authorized domains can access your files.
Framework-agnostic SDK with full TypeScript support, making file management simple and type-safe.
Upload, download, list, and delete files with a RESTful API. Support for chunked uploads and file metadata.
Built-in rate limiting to protect your API from abuse and ensure fair resource allocation.
Manage projects, API keys, files, and users through an elegant Laravel Nova admin interface.
Sign up and create a new project in the admin panel.
Create an API key and configure allowed origins for security.
Install the SDK or use our REST API directly in your app.
Upload, download, and manage your files programmatically.
Download our integration specification and let Claude Code, ChatGPT, Cursor, or any AI code agent automatically implement Files Hub in your application.
Get the complete API specification in JSON or Markdown format for your AI code agent.
View the complete integration guide with examples, TypeScript types, and best practices.
View Full Guideimport { FilesHubClient } from '@files-hub/sdk';
const client = new FilesHubClient({
apiKey: 'your-api-key',
baseUrl: 'https://your-domain.com/api/v1'
});
// Upload a file
const uploadResult = await client.upload(file, {
folder: 'documents',
metadata: { category: 'invoices' }
});
// List files
const files = await client.list({ folder: 'documents' });
// Download a file
const fileData = await client.download(fileId);
// Delete a file
await client.delete(fileId);