Welcome to Hubsy Cloud API
The Hubsy Cloud API allows you to programmatically upload, download, manage, and share files from your applications. Build custom integrations, automate workflows, and create powerful file management solutions.Getting Started
Get API Key
- Log in to your Hubsy Cloud account
- Go to Settings → API Keys
- Click “Generate New API Key”
- Copy and securely store your key
Base URL
All API requests should be made to:Authentication
Hubsy Cloud API uses Bearer token authentication. Include your API key in the Authorization header:Example Request
API Key Scopes
Control what your API keys can access:- Read: View files and folders
- Write: Upload and modify files
- Delete: Remove files and folders
- Share: Create and manage share links
Rate Limits
To ensure service quality, API requests are rate limited:| Plan | Requests per minute |
|---|---|
| Free | 60 |
| Pro | 300 |
| Enterprise | 1,000 |
Rate Limit Headers
Response headers indicate your current status:When rate limit is exceeded, you’ll receive a
429 Too Many Requests response.Response Format
All responses are in JSON format:Success Response
Error Response
Common Error Codes
| Code | Description |
|---|---|
invalid_request | Request is malformed or missing required parameters |
authentication_failed | Invalid or missing API key |
permission_denied | Insufficient permissions for this operation |
not_found | Resource not found |
rate_limit_exceeded | Too many requests |
storage_exceeded | Storage quota exceeded |
file_too_large | File exceeds size limit |
Pagination
List endpoints support pagination:Request Parameters
page: Page number (default: 1)per_page: Items per page (default: 50, max: 100)
Example Request
Response
Webhooks
Receive real-time notifications for events:Available Events
file.uploaded- New file uploadedfile.deleted- File deletedfile.shared- File sharedshare.accessed- Shared file accessedstorage.warning- Approaching storage limit
Setup
- Go to Settings → Webhooks
- Add webhook URL
- Select events to monitor
- Save configuration
Webhook Documentation
Learn more about webhooks
SDKs & Libraries
Official SDKs for popular languages:JavaScript/Node.js
Python
PHP
Ruby
SDKs handle authentication, retries, and error handling automatically.
Quick Examples
Upload a File
List Files
Create Share Link
Support
Need help with the API?API Status
Check API uptime and incidents
Support
Contact API support team
Community
Join our developer community
Changelog
View API updates and changes