Pular para o conteúdo principal
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>"
  ]
}

Produtos suportados

Requer um dos seguintes produtos ou superior.
Marketing HubMarketing Hub -Grátis
Sales HubSales Hub -Grátis
Service HubService Hub -Grátis
Content HubContent Hub -Grátis

Autorizações

Authorization
string
header
obrigatório

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

Corpo

application/json

Resposta

successful operation

legacyListIdsToIdsMapping
object[]
obrigatório
missingLegacyListIds
string[]
obrigatório

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