curl --request POST \
--url https://api.hubapi.com/crm/v3/extensions/cards-dev/{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
}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
curl --request POST \
--url https://api.hubapi.com/crm/v3/extensions/cards-dev/{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
The access token received from the authorization server in the OAuth 2.0 flow.
The id of the app containing the Legacy CRM Card
Defaults to false. This allow more than one Legacy CRM Card Migration to point to the same extension card. This is prevented by default to avoid accidental consolidation of cards.
The id of the App Card to replace the Legacy CRM Card in views
The id of the Legacy CRM Card to swap
The id of the Helpdesk App Card to replace the Legacy CRM Card in Helpdesk views. Only necessary if the Legacy CRM Card supported tickets, as then it would have been available on helpdesk views.
successful operation
A human readable message describing the error along with remediation steps where appropriate
The timestamp for when the migration ended.
The number of portals that remain to be swapped from the Legacy CRM Card to the App Card
The timestamp for when the migration started.
The total number of portals that have access to the Legacy CRM Card
Was this page helpful?