Dropbox Files API

This namespace contains endpoints and data types for basic file operations.

GitHub OpenAPI

Operations 43

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /2/files/copy_v2 Copy a file or folder · Dropbox copy #
Ask an LLM
“How do I copy a folder and everything in it to another location?”
“Can I copy a file to a different folder in my Dropbox?”
Tell an agent
Copy the folder at this path to a new location.
Copy this file to another folder.
POST /2/files/copy_batch_v2 Copy many files or folders at once · Dropbox copy_batch #
Ask an LLM
“Can I copy a whole list of files and folders to different places in one request?”
“What happens if one file fails when I copy a batch?”
Tell an agent
Copy this batch of files and folders to their new locations.
Start a batch copy of several files and folders at once.
POST /2/files/copy_batch/check_v2 Check a batch copy job · Dropbox copy_batch/check #
Ask an LLM
“Has my batch copy job finished yet?”
“Where do I check the results of a batch copy?”
Tell an agent
Check the status of my batch copy job.
Show me which files succeeded in the batch copy.
POST /2/files/copy_reference/get Get a copy reference to a file · Dropbox copy_reference/get #
Ask an LLM
“How can I share a file with someone else by giving them a copy reference?”
“Can I get a link that lets another user copy a file into their Dropbox?”
Tell an agent
Get a copy reference to this file.
Give me a shareable link to copy this folder into someone else's Dropbox.
POST /2/files/copy_reference/save Save a copy reference · Dropbox copy_reference/save #
Ask an LLM
“How do I save a copy reference into my own Dropbox?”
“Can I use a copy reference I received to add a file to my folder?”
Tell an agent
Save this copy reference into my Dropbox.
Add the file from the copy reference to my folder.
POST /2/files/create_folder_v2 Create a folder · Dropbox create_folder #
Ask an LLM
“How do I create a new folder in my Dropbox?”
“Can I make a folder at a specific path?”
Tell an agent
Create a folder at this path.
Make a new folder in my Dropbox.
POST /2/files/create_folder_batch Create many folders at once · Dropbox create_folder_batch #
Ask an LLM
“Can I create a whole list of folders in one request?”
“Is there an async way to create folders in bulk?”
Tell an agent
Create these folders at once.
Start a batch of folder creations and check it later.
POST /2/files/create_folder_batch/check Check a batch folder creation job · Dropbox create_folder_batch/check #
Ask an LLM
“Has my batch folder creation job finished?”
“Where do I check which folders were created?”
Tell an agent
Check the status of my batch folder creation job.
Show me which folders succeeded in the batch creation.
POST /2/files/delete_v2 Delete a file or folder · Dropbox delete #
Ask an LLM
“How do I delete a single file from my Dropbox?”
“Will deleting a folder also remove everything inside it?”
Tell an agent destructive · confirm first
Delete this file.
Remove this folder and all its contents.
POST /2/files/delete_batch Delete many files or folders at once · Dropbox delete_batch #
Ask an LLM
“Can I delete a whole list of files and folders in one request?”
“What happens if some files fail to delete in a batch?”
Tell an agent destructive · confirm first
Delete these files and folders at once.
Start a batch delete of several files and folders.
POST /2/files/delete_batch/check Check a batch delete job · Dropbox delete_batch/check #
Ask an LLM
“Has my batch delete job finished?”
“Where do I check which files were deleted?”
Tell an agent
Check the status of my batch delete job.
Show me which files succeeded in the batch delete.
POST /2/files/download Download a file · Dropbox download #
Ask an LLM
“How do I download a file from my Dropbox?”
“Can I fetch the raw bytes of a file?”
Tell an agent
Download this file from my Dropbox.
Get the bytes of this file.
POST /2/files/download_zip Download a folder as a zip · Dropbox download_zip #
Ask an LLM
“How do I download a folder as a zip file?”
“What size limits apply when zipping a folder?”
Tell an agent
Download this folder as a zip.
Zip and download this folder for me.
POST /2/files/export Export a file · Dropbox export #
Ask an LLM
“How do I export a file that can't be downloaded directly?”
“Which files can be exported instead of downloaded?”
Tell an agent
Export this file.
Get an exported version of this file.
POST /2/files/get_file_lock_batch Check locks on several files · Dropbox get_file_lock_batch #
Ask an LLM
“Which files in my list are currently locked?”
“Can I check the lock status of multiple files at once?”
Tell an agent
Check the locks on these files.
Tell me which of these files are locked.
POST /2/files/get_metadata Get file or folder metadata · Dropbox get_metadata #
Ask an LLM
“How do I get the metadata for a file or folder?”
“Can I see when a file was last modified?”
Tell an agent
Get the metadata for this file.
Show me the details of this folder.
POST /2/files/get_preview Get a preview of a file · Dropbox get_preview #
Ask an LLM
“Can I get a preview of a document before downloading it?”
“Which file types support previews?”
Tell an agent
Get a preview of this file.
Show me a preview of this document.
POST /2/files/get_thumbnail_v2 Preview a file with a thumbnail · Dropbox get_thumbnail #
Ask an LLM
“Can I get a thumbnail preview of a file?”
“Which scope do I need to fetch thumbnails?”
Tell an agent
Get a thumbnail for the file.
Fetch a preview thumbnail of this document.
POST /2/files/get_thumbnail_batch Get thumbnails for a batch of images · Dropbox get_thumbnail_batch #
Ask an LLM
“How do I get thumbnails for a batch of image files at once?”
“What is the maximum number of thumbnails I can request in one batch?”
Tell an agent
Get thumbnails for these image files in one batch.
Generate thumbnails for this list of image paths.
POST /2/files/list_folder List the contents of a folder · Dropbox list_folder #
Ask an LLM
“How do I list all files and folders inside a Dropbox folder?”
“What do I do if the folder listing has more entries than one page?”
Tell an agent
List the contents of this folder.
Show me everything in the folder and whether there are more results.
POST /2/files/list_folder/continue Continue listing folder contents with a cursor · Dropbox list_folder/continue #
Ask an LLM
“How do I fetch the next page of a folder listing after the first cursor?”
“Can I keep a local cache of folder contents by continuing a listing cursor?”
Tell an agent
Continue listing the folder contents using this cursor.
Fetch the next page of entries from the folder listing.
POST /2/files/list_folder/get_latest_cursor Get the latest cursor for a folder · Dropbox list_folder/get_latest_cursor #
Ask an LLM
“Can I get a fresh cursor for a folder without retrieving any entries?”
“Is there a lightweight way to get a folder's current state cursor?”
Tell an agent
Get the latest cursor for this folder.
Give me a fresh folder state cursor without any entries.
POST /2/files/list_folder/longpoll Wait for changes to a folder · Dropbox list_folder/longpoll #
Ask an LLM
“How do I wait for new files or changes to a folder without polling?”
“What happens if no changes arrive while long polling for a folder?”
Tell an agent
Long poll for changes to this folder.
Wait until new files appear in the folder.
POST /2/files/list_revisions List revisions of a file · Dropbox list_revisions #
Ask an LLM
“How do I see all previous versions of a file?”
“Can I list revisions by file path or by file id?”
Tell an agent
List the revisions of this file.
Show every previous version of the file at this path.
POST /2/files/lock_file_batch Lock a batch of files · Dropbox lock_file_batch #
Ask an LLM
“How do I lock several files so only I can edit them?”
“Who is allowed to unlock a file I locked?”
Tell an agent
Lock these files so only the lock holder can edit them.
Lock the listed files and return their metadata.
POST /2/files/move_v2 Move a file or folder · Dropbox move #
Ask an LLM
“How do I move a single file or folder to a different location?”
“Does moving a folder include all of its contents?”
Tell an agent
Move this file to the new location.
Move the folder and everything inside it to a different path.
POST /2/files/move_batch_v2 Move multiple files or folders at once · Dropbox move_batch #
Ask an LLM
“Can I move several files or folders to different places in one request?”
“What happens if some files fail when moving them in bulk?”
Tell an agent
Move these files and folders to their new locations.
Start a bulk move of multiple files and return a job ID.
POST /2/files/move_batch/check_v2 Check the status of a bulk move job · Dropbox move_batch/check #
Ask an LLM
“Did my bulk move job finish successfully?”
“How do I check the status of an asynchronous move batch?”
Tell an agent
Check the status of my bulk move job.
Show the results for each file moved in the batch.
POST /2/files/permanently_delete Permanently delete a file or folder · Dropbox permanently_delete #
Ask an LLM
“How do I permanently delete a file or folder from Dropbox?”
“Is permanently deleting files available to all Dropbox accounts?”
Tell an agent destructive · confirm first
Permanently delete this file or folder.
Remove the file from the trash so it can't be restored.
POST /2/files/restore Restore a file to an earlier revision · Dropbox restore #
Ask an LLM
“How do I restore a file to a previous version?”
“Can I bring back a deleted file from a specific revision?”
Tell an agent
Restore this file to the given revision.
Roll back the file to an earlier version.
POST /2/files/save_url Save a file from a URL into Dropbox · Dropbox save_url #
Ask an LLM
“How do I download a file from a URL and save it to Dropbox?”
“What happens if the file at the URL already exists in my Dropbox?”
Tell an agent
Save the file from this URL into my Dropbox.
Download the file at the URL and store it in Dropbox.
POST /2/files/save_url/check_job_status Check a save-from-URL job · Dropbox save_url/check_job_status #
Ask an LLM
“Has my save-from-URL job finished?”
“How do I check whether a file download from a URL succeeded?”
Tell an agent
Check the status of my save-from-URL job.
Tell me whether the file download from the URL succeeded.
POST /2/files/search_v2 Search files and folders · Dropbox search #
Ask an LLM
“How do I search for files and folders by name?”
“Can I search across the whole account for a file?”
Tell an agent
Search for files and folders matching this query.
Find the file or folder named this.
POST /2/files/search/continue_v2 Get the next page of search results · Dropbox search/continue #
Ask an LLM
“How do I fetch the next page of search results after the first page?”
“Is there a limit on how many search results I can retrieve?”
Tell an agent
Get the next page of search results.
Fetch more matches from the search query.
POST /2/files/unlock_file_batch Unlock a batch of files · Dropbox unlock_file_batch #
Ask an LLM
“How do I unlock files I previously locked?”
“Can a team admin unlock files locked by a member?”
Tell an agent
Unlock these files so others can edit them again.
Release the locks on the listed files.
POST /2/files/upload Upload a small file · Dropbox upload #
Ask an LLM
“How do I upload a small file directly to Dropbox?”
“What is the size limit for a direct upload?”
Tell an agent
Upload this small file directly to Dropbox.
Create a new file in my Dropbox with the data I provide.
POST /2/files/upload_session/append_v2 Append data to an upload session · Dropbox upload_session/append #
Ask an LLM
“How do I upload a large file in chunks to an upload session?”
“What happens if I close the upload session after appending data?”
Tell an agent
Append more data to my upload session.
Close the upload session after appending this chunk.
POST /2/files/upload_session/finish Finish an upload session and save the file · Dropbox upload_session/finish #
Ask an LLM
“How do I save the data I uploaded in chunks to a file?”
“Can I finish an upload session and give it a file path?”
Tell an agent
Finish my upload session and save the file at this path.
Close the upload session and store the uploaded data as a file.
POST /2/files/upload_session/finish_batch Commit many uploaded files at once · Dropbox upload_session/finish_batch #
Ask an LLM
“How do I commit several files I uploaded in parallel into Dropbox in one request?”
“Can I finish many upload sessions in a single call instead of one per session?”
Tell an agent
Finish all my upload sessions and commit the files in one request.
Commit the files from my parallel upload sessions using finish_batch.
POST /2/files/upload_session/finish_batch/check Check an upload session finish batch job · Dropbox upload_session/finish_batch/check #
Ask an LLM
“Has my batch of uploaded files finished committing?”
“How do I check the status of an asynchronous upload session finish batch?”
Tell an agent
Check the status of my upload session finish batch job.
Poll the asynchronous finish_batch job for each uploaded file.
POST /2/files/upload_session/start Start an upload session for a large file · Dropbox upload_session/start #
Ask an LLM
“How do I upload a file larger than 150 MB in chunks?”
“How long can an upload session stay open before I have to finish it?”
Tell an agent
Start an upload session for a large file.
Open a new upload session with this Dropbox-API-Arg.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dropbox:dropbox-files-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dropbox-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dropbox API Reference Files API
  description: 'The powerful, yet simple, Dropbox API allows you to manage and control content and team settings programmatically and extend Dropbox capabilities in new and powerful ways. This is a collection that includes requests to all endpoints in the Dropbox API.


    The Dropbox API is divided in two groups of endpoints: User Endpoints and Business Endpoints. Operations that would most likely be executed by a user, such as file operations, are in the User Endpoints folder. Operations that would most likely be executed by a team administrator, such as adding users to groups, live in the Business Endpoints folder.


    If you are new to Dropbox Business and Team Administration, please have a look at the Dropobox Admin Guide.


    If you want more information on how to use our API please refer to our Developer Portal.


    # What''s in the collection?


    The endpoints are organized in the following folders:

    * account

    * auth

    * check

    * contacts

    * file_properties

    * file_requests

    * files

    * sharing

    * team

    * team_log

    * users


    # Authorization


    ## OAuth 2.0 for API Access

    Dropbox uses OAuth 2.0, an open specification, to authorize access to data. To get an OAuth token from Dropbox to enable Postman to access your Dropbox account via the API you’ll need to create a new app on the DBX Platform.


    ## Creating an App on the DBX Platform

    Navigate to https://www.dropbox.com/developers/apps and select “Create app”

    1. Choose an API

    2. Choose the type of access you need

    3. Give your app a name

    4. Choose the Dropbox account that will own your app


    For reference, please use the Dropbox OAuth guide


    ## Generating an Access Token

    Once you select “Create app” a page will load that displays information about your newly created app. To generate an access token scroll down to “OAuth 2” and click “Generate” beneath “Generated access token.” The token will display as a long string of characters. Copy this token for use with the Postman Collection.


    ## Adding an Access Token to the requests

    In the Postman client, click on the three dots to the right of the collection name to "View more actions."


    !Screenshot of adding access token


    Then, click "Edit."


    Click on the "Variables" tab and, in the row for the `access_token` variable, paste your access token in the `CURRENT VALUE` column. The default value is `your-access-token-here`.


    !Screenshot of adding access token


    For information on sessions and variables in Postman see the blog post at https://blog.postman.com/sessions-faq/.


    # Notes

    * Dropbox also has a Postman Collection in the API Network to help administrators with team management workflows. It is called Dropbox Team Admin Workflows.'
  version: 1.0.0
servers:
- url: https://api.dropbox.com
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (107 KB total) ---
# Full source: https://artifacts.apis.io/dropbox/openapi/dropbox-files-api-openapi.yml