Skip to main content
GET
/
download-file

Endpoint

GET /download-file Authentication
Requires header authorization: <your_token>.

Parameters

Send the file id as a query parameter.

Example (cURL)

curl -X GET "https://gateway.orkeia.ai/download-file"   -H "authorization:  <your_token>"   -o downloaded_file.bin

Responses

Response - Success

response
{
  "status": "OK",
  "data": "document url"
}

500 — Bad Request

{
  "status": "ERROR",
  "code": "server/error",
  "data": null
}

400 — Client Error

{
  "status": "ERROR",
  "code": "client/error",
  "data": null
}