Administration

organization.migration.file

Get a short-lived download for one source migration file, with its SHA-256 digest. Requires the job's organization.

GETPOST/api/v1/accounting/organization.migration.file

Permissions

accounting:readaccounting:admin

Who can call it

admin

Retries

Safe to retry: it only reads

MCP

Not offered over MCP: Organization data moves need administrator sign-ins at both installations and an explicit cutover in Settings or the CLI.

Fields

  • idstring (ID)Required

    The record's ID.

  • indexintegerRequired

    0 to 100000000

Example

curl -G https://app.getoatmilk.com/api/v1/accounting/organization.migration.file \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d' \
  --data-urlencode 'index=1'
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

GET/api/v1/accounting/organization.migration.file
curl -G https://app.getoatmilk.com/api/v1/accounting/organization.migration.file \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d' \
  --data-urlencode 'index=1'

More in Administration.