list_folders

POST https://api.dropboxapi.com/2/sharing/list_folders

list_folders

scope: sharing.read

Return the list of all shared folders the current user has access to.

Request Body

{"limit"=>100, "actions"=>[]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Dropbox-API-Path-Rootstring
Dropbox-API-Select-Userstring

RESPONSES

status: OK

{"entries":[{"access_type":{".tag":"owner"},"is_inside_team_folder":false,"is_team_folder":false,"name":"dir","policy":{"acl_update_policy":{".tag":"owner"},"shared_link_policy":{".tag":"anyone"},"member_policy":{".tag":"anyone"},"resolved_member_policy":{".tag":"team"}},"preview_url":"https://www.dropbox.com/scl/fo/fir9vjelf","shared_folder_id":"84528192421","time_invited":"2016-01-20T00:00:00Z","path_lower":"/dir","link_metadata":{"audience_options":[{".tag":"public"},{".tag":"team"},{".tag":"members"}],"current_audience":{".tag":"public"},"link_permissions":[{"action":{".tag":"change_audience"},"allow":true}],"password_protected":false,"url":""},"permissions":[],"access_inheritance":{".tag":"inherit"}}],"cursor":"ZtkX9_EHj3x7PMkVuFIhwKYXEpwpLwyxp9vMKomUhllil9q7eWiAu"}