Skip to main content
You can download data from the sandbox using the files.read() method.

Download with pre-signed URL

Sometimes, you may want to let users from unauthorized environments, like a browser, download files from the sandbox. For this use case, you can use pre-signed URLs to let users download files securely. All you need to do is create a sandbox with the secure: true option. A download URL will then be generated with a signature that allows only authorized users to access files. You can optionally set an expiration time for the URL so that it will be valid only for a limited time.