In this guide

List Folder

Files and folders inside a Dropbox folder.

Action referenceRead

What this action does #

First, connect Dropbox in Services. Then open Actions → + → Dropbox and choose List Folder.

More about this action

Leave Folder path empty for the root. Enable Recursive to include subfolders. Fetch more pages to retrieve the remaining entries; Dropbox may return an empty intermediate page.

Inputs to fill in #

Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.

Folder path

OptionalText

Choose a folder or type its path. Empty means the root of your Dropbox or app folder.

This input offers a picker for folder from your connected account. You can also supply its value directly.

Example value (replace with your own):
/Homework

Recursive

OptionalOn or off

Supply a on or off value for this input.

Default: false

Page size

OptionalWhole number

Approximate maximum entries per request.

Example value (replace with your own):
100

What comes back #

In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.

Returned fieldTypeMeaning
entriesarrayA list of values.
entries[].namestringText value.
entries[].idstringText value.
entries[].path_displaystringText value.
entries[].path_lowerstringText value.
entries[].sizeintegerFile size in bytes; absent for folders.
entries[].revstringText value.
entries[].server_modifiedstringText value.
entries[].client_modifiedstringText value.
entries[].is_downloadablebooleanTrue or false.
entries[].content_hashstringText value.
cursorstringText value.
has_morebooleanTrue or false.

Run it from Shortcuts #

  1. Give the action a recognizable name and tap Save.
  2. In Apple Shortcuts, add Shortcutify’s Execute Action and select the saved action.
  3. Supply any Param or File slots you bound in the inputs, then run the shortcut.

If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.

This action supports multiple pages of results. Open its Fetch setting to retrieve more pages when one page is not enough. Each page adds a service request.

Advanced reference #

Request, permissions, and identifiers

Request: POST https://api.dropboxapi.com/2/files/list_folder

Action identifier: dropbox.folder.list.v1

Permissions declared for this action: files.metadata.read. The account’s own access rules also apply.

InputRequest keyLocation
Folder pathpathbody
Recursiverecursivebody
Page sizelimitbody

Dropbox API reference