list_folder/longpoll
POST https://notify.dropboxapi.com/2/files/list_folder/longpoll
scope: files.metadata.read
A longpoll endpoint to wait for changes on an account. In conjunction with list_folder/continue
, this call gives you a low-latency way to monitor an account for file changes. The connection will block until there are changes available or a timeout occurs. This endpoint is useful mostly for client-side apps. If you're looking for server-side notifications, check out our webhooks documentation.
Request Body
{"cursor"=>"ZtkX9_EHj3x7PMkVuFIhwKYXEpwpLwyxp9vMKomUhllil9q7eWiAu", "timeout"=>30}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Dropbox-API-Path-Root | string | ||
Dropbox-API-Select-User | string | ||
Dropbox-API-Select-Admin | string |
RESPONSES
status: OK
{"changes":true}