---
title: "Migrate Card Views"
method: POST
path: "/crm/extensions/cards-dev/2026-03/{appId}/views/migrate"
tags: ["Advanced"]
---

# Migrate Card Views

`POST /crm/extensions/cards-dev/2026-03/{appId}/views/migrate`

Swaps a Legacy CRM Card with an App Card in views. Reference the "Migrate a legacy CRM card to an app card" docs for more information

## Path parameters

- `appId` integer, required

## Request body

- CrmExtensionsCardsDevCardMigrateViewsRequest
  - `allowDuplicateAppCardIds` boolean, required
  - `appCardId` integer, required
  - `helpdeskAppCardId` integer
  - `legacyCrmCardId` integer, required

## Response `200`

successful operation

- CrmExtensionsCardsDevCardMigrateViewsResponse
  - `endedAt` integer — The timestamp for when the migration ended.
  - `message` string, required — A human readable message describing the progress of the migration.
  - `remainingPortalCount` integer — The number of portals that remain to be swapped from the Legacy CRM Card to the App Card
  - `startedAt` integer — The timestamp for when the migration started.
  - `totalPortalCount` integer — The total number of portals that have access to the Legacy CRM Card

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/hubspot/apis/hubspot-api-specification.md) · [All operations](https://skmtc.net/hubspot/apis/hubspot-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hubspot/hubspot-api-specification/revisions/f9c7181056c5/schema)
