Basic
Retrieve ID Mapping
Changed onRetrieve the mapping of legacy list IDs to their current IDs in the HubSpot system. This endpoint is useful for migrating or updating systems that rely on legacy list identifiers.
get/crm/lists/2026-09/idmapping
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/crm/lists/2026-09/idmapping
- Auth
- OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: crm.segments.read
- or OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: crm.lists.read
Query parameters
legacyListIdstring
The legacy list ID for which you want to retrieve the current ID mapping.
Response
successful operation
Changes
- info
the security scope
crm.segments.readwas added to the endpoint's security schemeoauth2 - info
the security scope
crm.lists.readwas removed from the endpoint's security schemeoauth2
- info
- info
the security scope
crm.segments.readwas added to the endpoint's security schemeoauth2 - info
the security scope
crm.lists.readwas removed from the endpoint's security schemeoauth2
- info