Skip to main content
POST
/
crm
/
extensions
/
cards-dev
/
2026-03
/
{appId}
/
views
/
migrate
Migrate Card Views
curl --request POST \
  --url https://api.hubapi.com/crm/extensions/cards-dev/2026-03/{appId}/views/migrate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "allowDuplicateAppCardIds": true,
  "appCardId": 123,
  "legacyCrmCardId": 123,
  "helpdeskAppCardId": 123
}
'
{
  "message": "<string>",
  "endedAt": 123,
  "remainingPortalCount": 123,
  "startedAt": 123,
  "totalPortalCount": 123
}

Documentation Index

Fetch the complete documentation index at: https://developers.hubspot.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Supported products

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

appId
integer<int32>
required

The appId of the app containing the Legacy CRM Card(s)

Body

application/json
allowDuplicateAppCardIds
boolean
required
appCardId
integer<int64>
required
legacyCrmCardId
integer<int64>
required
helpdeskAppCardId
integer<int64>

Response

successful operation

message
string
required

A human readable message describing the progress of the migration.

endedAt
integer<int64>

The timestamp for when the migration ended.

remainingPortalCount
integer<int64>

The number of portals that remain to be swapped from the Legacy CRM Card to the App Card

startedAt
integer<int64>

The timestamp for when the migration started.

totalPortalCount
integer<int64>

The total number of portals that have access to the Legacy CRM Card

Last modified on May 11, 2026