Skip to main content
GET
/
uploads
/
{filename}
Download one uploaded file
curl --request GET \
  --url https://api.app.lastaccountingcompany.com/portal/uploads/{filename} \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>",
  "detail": "<string>"
}

Authorizations

Authorization
string
header
required

Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....

Path Parameters

filename
string
required

The stored filename of the upload.

Query Parameters

customer_id
string

Target company. Optional — API keys are pinned to one company, and single-company sessions default to it.

Response

File bytes.