Skip to main content
import requests

response = requests.get(
"https://api.simplex.sh/download_session_files",
headers={"x-api-key": f"b1b8db52facda0eec0ced60093fc5739aaaca816ceb4a2599227ff19f1dd6f1e2c58d19ba9b7ddfbf7a189d95a831047"},
params={"session_id": "session_123"}
)

with open("session_files.zip", "wb") as f:
f.write(response.content)
This response does not have an example.
Downloads files that were saved during a browser session. If a specific filename is provided, returns that single file. Otherwise, returns all files from the session as a zip archive.

Authorizations

X-API-Key
string
header
required

Simplex API Key

Query Parameters

session_id
string
required

The ID of the session to download files from

filename
string

Specific filename to download. If omitted, all files are returned as a zip

Response

File download response

Single file download