Download a document by its ID. You can choose to download the document directly or stream it.
Security
oAuth2ClientCredentials
GET
import requests
id = "YOUR_id_PARAMETER"
url = "https://api.qargo.com/v1/documents/document/" + id + "/download"
headers = {"Authorization": "Bearer <YOUR_TOKEN_HERE>"}
response = requests.get(url, headers=headers)
data = response.json()
print(data)