Skip to content
Developer Docs

Download document​

GET
/flow/v1/operations/{operationUuid}/documents/{documentUuid}/content

Downloads document attached to a operation via efficient streaming.
Lets you retrieve large PDFs or attachments without loading the entire file into memory.

Autorizaciones​

OAuth2

OAuth2 security scheme

clientCredentials Flow
URL del token"/idp/oauth2/token"
Ámbitos:
  • "api"Access to the API

Parámetros​

Header Parameters

x-tenant-id*

Tenant identifier. On requests issued by Zertiban's hosted WebApp it is the UUID of the operation in the path; on any other channel it is the organisation UUID.

Tipo
string
Requerido
Ejemplo"1f56c928-7621-44fe-8cda-c211fda0a828"
Formato
"uuid"

Path Parameters

operationUuid*

UUID of the operation

Tipo
string
Requerido
Formato
"uuid"
documentUuid*

UUID of the document

Tipo
string
Requerido
Formato
"uuid"

Respuestas​

Document successfully retrieved and streaming.
The response body contains the raw binary content of the document.
Headers:

  • Content-Type: Specific MIME type of the document "application/octet-stream"
  • Content-Length: Total size of the document in bytes (if known)
  • Transfer-Encoding: "chunked" for streaming
application/octet-stream

Playground​

Servidor
Autorización
Headers
Variables
Key
Value

Ejemplos​