organization.migration.importRows
Stage a migration's table page once, validating its organization, identity mapping and SHA-256 digest. Retries with changed content are rejected.
POST
/api/v1/accounting/organization.migration.importRowsPermissions
accounting:readaccounting:writeaccounting:admin
Who can call it
admin
Retries
No idempotency key
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)RequiredThe record's ID.
tablestringRequiredMatches ^[a-z_][a-z0-9_]{0,62}$
offsetintegerRequiredHow many results to skip, for the next page of a list.
0 to 100000000
rowsarray of mapsRequiredat most 100 items
digeststringRequiredSHA-256 hash as 64 lowercase hex characters
Example
curl https://app.getoatmilk.com/api/v1/accounting/organization.migration.importRows \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"table": "table",
"offset": 1,
"rows": [
{}
],
"digest": "9f2b5c1d7e3a4b6c8d0e2f4a6b8c0d2e4f6a8b0c2d4e6f8a0b2c4d6e8f0a2b4c"
}'{
"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.
POST/api/v1/accounting/organization.migration.importRows
curl https://app.getoatmilk.com/api/v1/accounting/organization.migration.importRows \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"table": "table",
"offset": 1,
"rows": [
{}
],
"digest": "9f2b5c1d7e3a4b6c8d0e2f4a6b8c0d2e4f6a8b0c2d4e6f8a0b2c4d6e8f0a2b4c"
}'More in Administration.