---
title: "Check Before Cutover — API Reference"
canonical: "https://repull.dev/docs/api/migrations/cutover-check"
description: "POST /v1/migrations/:workspaceId/cutover-check — compare your reservation list with what Repull imported before you switch channel managers."
updated: "2026-11-30T00:48:58.694Z"
commit: "18314c12fefb59a7545ef7607c0893919de20aa9"
---

# Check reservations before switching

Migrations · `POST /v1/migrations/:workspaceId/cutover-check`

Check reservations before switching

`POST /v1/migrations/:workspaceId/cutover-check`

#### Request

**curl**

```bash
curl -X POST https://api.repull.dev/v1/migrations/1204/cutover-check \
  -H "Authorization: Bearer $REPULL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reservations": [{"confirmationCode": "HMABC123", "checkIn": "2026-10-01", "checkOut": "2026-10-04"}]}'
```

**TypeScript**

```typescript
import { Repull } from '@repull/sdk'

const repull = new Repull({ apiKey: process.env.REPULL_API_KEY! })

const { data: check } = await repull.migrations.cutoverCheck(1204, [
  { confirmationCode: 'HMABC123', checkIn: '2026-10-01', checkOut: '2026-10-04' },
])
```

**Python**

```python
import os
import datetime
from repull import AuthenticatedClient
from repull.api.migrate import check_migration_cutover
from repull.models import CheckMigrationCutoverBody, CheckMigrationCutoverBodyReservationsItem

client = AuthenticatedClient(
    base_url="https://api.repull.dev",
    token=os.environ["REPULL_API_KEY"],
)

check = check_migration_cutover.sync(
    client=client,
    workspace_id=1204,
    body=CheckMigrationCutoverBody(reservations=[
        CheckMigrationCutoverBodyReservationsItem(
            confirmation_code="HMABC123",
            check_in=datetime.date(2026, 10, 1),
            check_out=datetime.date(2026, 10, 4),
        ),
    ]),
)
```

**Go**

```go
import (
	"context"
	"os"

	"github.com/ivannikolovbg/repull-go/repull"
)

client, err := repull.NewClientWithResponses(
	repull.DefaultBaseURL,
	repull.WithBearer(os.Getenv("REPULL_API_KEY")),
)
ctx := context.Background()

resp, err := client.CheckMigrationCutoverWithResponse(ctx, 1204, repull.CheckMigrationCutoverJSONRequestBody{
	Reservations: yourUpcomingReservations,
})
```

**Ruby**

```ruby
config = Repull::Configuration.new
config.access_token = ENV.fetch('REPULL_API_KEY')
config.host = 'api.repull.dev'

client = Repull::ApiClient.new(config)

api = Repull::MigrateApi.new(client)
check = api.check_migration_cutover(1204, Repull::CheckMigrationCutoverRequest.new(reservations: [
  { confirmation_code: 'HMABC123', check_in: '2026-10-01', check_out: '2026-10-04' },
]))
```

**PHP**

```php
$config = Repull\Configuration::getDefaultConfiguration()
    ->setAccessToken(getenv('REPULL_API_KEY'));
$http = new GuzzleHttp\Client();

$api = new Repull\Api\MigrateApi($http, $config);
$check = $api->checkMigrationCutover(1204, new Repull\Model\CheckMigrationCutoverRequest([
    'reservations' => [['confirmation_code' => 'HMABC123', 'check_in' => '2026-10-01', 'check_out' => '2026-10-04']],
]));
```

**C#**

```csharp
using Repull.SDK;

var client = RepullClientFactory.Create(
    Environment.GetEnvironmentVariable("REPULL_API_KEY")!);

var check = await client.V1.Migrations[1204].CutoverCheck.PostAsync(new CutoverCheckPostRequestBody
{
    Reservations = yourUpcomingReservations,
});
```

#### Response

```
{ "data": { "matched": 210, "missing": [], "extra": [], "mismatched": [] } }
```

**Body Parameters**

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `reservations` | `{ confirmationCode, checkIn, checkOut }[]` | Yes | Every upcoming reservation the destination holds (dates YYYY-MM-DD). Read-only. |
