Files

Download a file

Download a file by id

GET
/v1/files/{id}/download

Authorization

x-api-key
<token>

API Key for authentication

In: header

Path Parameters

idrequired
string

Response Body

Image file content (e.g., image/png, image/jpeg).

TypeScript Definitions

Use the response body type in TypeScript.

responserequired
file

Image file content (e.g., image/png, image/jpeg).

Format: "binary"
curl -X GET "https://api.scan-documents.com/v1/files/string/download" \
  -H "x-api-key: <token>"
"string"