# 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.importRows`

Permissions: `accounting:read`, `accounting:write`, `accounting:admin` · Roles: admin

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

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | string (ID) | Yes | The record's ID. |
| `table` | string | Yes | Matches ^[a-z_][a-z0-9_]{0,62}$. |
| `offset` | integer | Yes | How many results to skip, for the next page of a list. 0 to 100000000. |
| `rows` | array of maps | Yes | at most 100 items. |
| `digest` | string | Yes | SHA-256 hash as 64 lowercase hex characters. |

## Example request

```bash
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"
}'
```

Reference page: https://app.getoatmilk.com/docs/api/organization.migration.importRows
