I had integrated dropbox using spatie/ dropbox-api. there is one function for download file. but its return only resource id. how to resolved it and download files from dropbox.
The "spatie/dropbox-api" library isn't made by Dropbox, so we can't provide support for using that library in particular. I recommend referring to the documentation and support resources for that for help using it.
For reference, the Dropbox API itself allows apps to download files using the /2/files/download endpoint, which returns the file content in the response body.