Skip to main content
GET
/
import-runs
/
{run_id}
/
raw-package
Download an import run's raw package
curl --request GET \
  --url https://api.app.lastaccountingcompany.com/portal/import-runs/{run_id}/raw-package \
  --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

run_id
string
required

Query Parameters

customer_id
string

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

Response

Raw package bytes.