Dropbox API
Overview
Dropbox provides a widely-used REST API for accessing, uploading, and managing files and folders stored in Dropbox accounts, including shared folders and Business team spaces. It uses OAuth 2.0 with granular permission scopes for reading, writing, and sharing content. Official SDKs are available for Python, JavaScript, Java, and more, making integration straightforward.
Beginner Tip
Create a Dropbox app at dropbox.com/developers/apps and choose 'Scoped access'. For personal projects, generate a long-lived access token directly from the App Console to skip building a full OAuth flow while prototyping.
Available Data
Example Response
{
"file_id": "f_abc123",
"filename": "document.pdf",
"size_bytes": 1048576,
"mime_type": "application/pdf",
"download_url": "https://example.com/files/f_abc123",
"created_at": "2025-01-15T10:00:00Z"
} Field Reference
.tag Entry type discriminator: 'file', 'folder', or 'deleted' name Name of the file or folder (just the filename, not the full path) path_lower Lowercase canonical path of the item within Dropbox id Stable unique identifier for the item that persists across renames and moves size File size in bytes; absent for folders client_modified ISO 8601 timestamp set by the uploading client at the time of upload Implementation Example
const url = "https://www.dropbox.com/developers";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"Authorization": "Bearer YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Box
Box is an enterprise cloud content management platform with a comprehensive API for uploading, downloading, organizing, and sharing files programmatically.
Google Drive
The Google Drive API lets you read, write, and manage files stored in Google Drive programmatically via OAuth 2.0.
OneDrive
The OneDrive API (part of Microsoft Graph) lets you read, upload, and manage files in a user's OneDrive storage using OAuth 2.0.
AnonFiles
AnonFiles provides programmatic access to upload and share your files anonymously via REST API.
BayFiles
BayFiles provides programmatic access to upload and share your files via REST API.