API referenceStatements

A short-lived link to the rendered file

A signed URL, not the bytes. Streaming a hundred-megabyte CSV back through the API server would hold a worker for the length of somebody's download. The signed link expires in minutes: it is a bearer token for a financial document, and one that outlives the tab it was opened in is a liability.

GET
/api/b/v1/statements/exports/{export_id}/download

A signed URL, not the bytes.

Streaming a hundred-megabyte CSV back through the API server would hold a worker for the length of somebody's download. The signed link expires in minutes: it is a bearer token for a financial document, and one that outlives the tab it was opened in is a liability.

Authorization

OAuth2PasswordBearer
AuthorizationBearer <token>

In: header

Path Parameters

export_id*Export Id
Formatuuid
admin_access_token?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/api/b/v1/statements/exports/497f6eca-6276-4993-bfeb-53cbbbba6f08/download"
null