Probatix Documentation
Probatix Diagnostics API v1

Download a document file

Returns the document as a binary file download. The response body is raw binary data, not JSON. Content negotiation is not used for this endpoint, and the `Accept` header is ignored. Use the response `Content-Type` and `Content-Disposition` headers to determine the actual file type and filename.

GET
/v1/documents/{id}/download

Returns the document as a binary file download. The response body is raw binary data, not JSON. Content negotiation is not used for this endpoint, and the Accept header is ignored. Use the response Content-Type and Content-Disposition headers to determine the actual file type and filename.

X-API-TOKEN<token>

In: header

Path Parameters

id*string (uuid)

DocumentDownload identifier

Header Parameters

accept-language?string

Language for Errors and Translatable properties

Allowed values: "de", "en", "fr"

Response Body

application/octet-stream

curl -X GET "https://example.com/v1/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/download" \  -H "accept-language: de"
"string"