Authentication
Send your key in the Authorization header. All automation routes are under /api/v1 and return JSON unless downloading a file.
Authorization: Bearer ddx_your_api_keyDropadox API v1
Upload, list, and download files from scripts or backup tools. API keys use the same account storage and permissions as the dashboard.
Treat keys like passwords. Each key grants access to your files and is only displayed once.
Send your key in the Authorization header. All automation routes are under /api/v1 and return JSON unless downloading a file.
Authorization: Bearer ddx_your_api_keyUpload a file to the root of your account:
curl -X POST "https://dropadox.sytes.net/api/v1/files" \
-H "Authorization: Bearer $DROPADOX_API_KEY" \
-F "file=@./backup.zip"Add -F "folderId=123" to upload into a folder.
| Method | Path | Purpose |
|---|---|---|
| GET | /api/v1/storage | Read used, available, and maximum storage in bytes. |
| GET | /api/v1/folders | List folders available to the account. |
| POST | /api/v1/folders | Create a folder from JSON: { name, parentId? }. |
| GET | /api/v1/files?folderId=ID | List root files, or files in one folder when folderId is supplied. |
| POST | /api/v1/files | Upload multipart field file, with optional folderId. |
| GET | /api/v1/files/:fileId | Download a file by ID. |
| DELETE | /api/v1/files/:fileId | Delete a file by ID. |
GET /api/v1/folders and choose or create a destination folder.POST /api/v1/files.GET /api/v1/files?folderId=ID to verify what is stored.curl "https://dropadox.sytes.net/api/v1/files?folderId=123" \
-H "Authorization: Bearer $DROPADOX_API_KEY" Successful creates return 201. Invalid keys return 401, missing resources return 404, rate limits return 429, and storage-limit errors return 413. Revoke a key immediately if it is exposed.