# organization.migration.start

Start a resumable organization data move and freeze source writes. Existing source data is retained. Only a person in the dashboard or CLI can start it.

`POST /api/v1/accounting/organization.migration.start`

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. |
| `peerHost` | string (uri) | Yes | at most 2000 characters. |
| `peerOrganizationId` | string | Yes | Matches ^[A-Za-z0-9_-]{1,100}$. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/organization.migration.start \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
  "peerHost": "https://example.com/webhooks/oatmilk",
  "peerOrganizationId": "peer_organization_id"
}'
```

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