Folder path
OptionalTextChoose 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.
/Homework
Files and folders inside a Dropbox folder.
First, connect Dropbox in Services. Then open Actions → + → Dropbox and choose List Folder.
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.
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.
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.
/Homework
Supply a on or off value for this input.
Default: false
Approximate maximum entries per request.
100
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 field | Type | Meaning |
|---|---|---|
entries | array | A list of values. |
entries[].name | string | Text value. |
entries[].id | string | Text value. |
entries[].path_display | string | Text value. |
entries[].path_lower | string | Text value. |
entries[].size | integer | File size in bytes; absent for folders. |
entries[].rev | string | Text value. |
entries[].server_modified | string | Text value. |
entries[].client_modified | string | Text value. |
entries[].is_downloadable | boolean | True or false. |
entries[].content_hash | string | Text value. |
cursor | string | Text value. |
has_more | boolean | True or false. |
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.
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.
| Input | Request key | Location |
|---|---|---|
| Folder path | path | body |
| Recursive | recursive | body |
| Page size | limit | body |