Saltar al contenido principal
GET
/
download-file

Endpoint

GET /download-file Autenticación
Requiere el encabezado authorization: <tu_token>.

Parámetros

Envía el id del archivo como query parameter.

Ejemplo (cURL)

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

Respuestas

Response - Success

response
{
  "status": "OK",
  "data": "url del documento"
}

500 — Bad Request

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

400 — Client Error

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