Dropbox API - File & Folder Listing logo

Dropbox API - File & Folder Listing

OpenAPI spec including file requests, files/folders listing, and file download endpoints.

v1.2.04 methods

Methods

Each method below is pulled directly from the OpenAPI file.

POST/2/file_requests/listlistFileRequests

Returns a list of file requests owned by this user.

Dropbox API - File & Folder Listing logo

Request body

application/json

Responses

200

List of file requests

default

Unexpected error

POST/2/files/downloaddownloadFile

Download the raw contents of a file (binary or text). Returns file data in the HTTP response body, not JSON.

Dropbox API - File & Folder Listing logo

Parameters

Dropbox-API-Argheaderrequired

A JSON-encoded object with a 'path' property specifying the file to download (e.g. {"path": "/my-folder/file.txt"})

Responses

200

Raw contents of the specified file returned in the response body.

default

Unexpected error

POST/2/files/list_folderlistFilesAndFolders

Returns the contents of a folder. Includes both files and subfolders.

Dropbox API - File & Folder Listing logo

Request body

application/json

Responses

200

Folder listing result

default

Unexpected error

POST/2/files/list_folder/continuelistFilesAndFoldersContinue

Retrieve more results if the previous response indicated `has_more`.

Dropbox API - File & Folder Listing logo

Request body

application/json

Responses

200

Next set of folder listing results

default

Unexpected error

YAML

Copy and paste the full spec from the textarea below.