Download a file with a given sha256 hash

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)
Language
Authorization
Header
Click Try It! to start a request and see the response here!