Skip to main content
POST
/
crm
/
v3
/
lists
/
idmapping
Translate Legacy List Id to Modern List Id in Batch
curl --request POST \
  --url https://api.hubapi.com/crm/v3/lists/idmapping \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  "<string>"
]'
{
  "legacyListIdsToIdsMapping": [
    {
      "legacyListId": "<string>",
      "listId": "<string>"
    }
  ],
  "missingLegacyListIds": [
    "<string>"
  ]
}

Supported products

Requires one of the following products or higher.
Marketing HubMarketing Hub -Free
Sales HubSales Hub -Free
Service HubService Hub -Free
Content HubContent Hub -Free
Data HubData Hub -Free

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

successful operation

legacyListIdsToIdsMapping
object[]
required
missingLegacyListIds
string[]
required

A list of legacy list ids that were passed in but not found. It will be empty if no id's are missing

Last modified on December 16, 2025