get https://www.virustotal.com/api/v3/monitor_partner/files//download
This endpoint allows you to download a file by sha256 hash.
import requests
session = requests.Session()
session.headers = {'X-Apikey': '<api-key>'}
url = "https://www.virustotal.com/api/v3/monitor_partner/files/{sha256}/download"
response = session.get(url)
print(response.text)