younifyd
Menu

Post /crm/v3/lists/idmapping /crm/v3/lists/idmapping

Translate Legacy List Id to Modern List Id in Batch

POST/crm/v3/lists/idmapping

Use it in a workflow

  1. Add a step and choose the HubSpot connector.
  2. Pick the Post /crm/v3/lists/idmapping /crm/v3/lists/idmapping action (under Lists).
  3. Fill in the fields below, then reference the result from later steps as {{postCrmV3ListsIdmappingCrmV3ListsIdmapping.response.data}}.

Fields

baseUrlstring

The API host this action calls. Override to point at a different environment.

Default "https://api.hubapi.com"

bodystring

The request body content (for POST, PUT, PATCH requests).

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

Returns 200 with an object. Read it in later steps with {{postCrmV3ListsIdmappingCrmV3ListsIdmapping.response.data.<field>}}.

legacyListIdsToIdsMappingarray<object>
legacyListIdstringrequired

The legacy list id for the list

listIdstringrequired

The V3 list id for the list

missingLegacyListIdsarray<string>

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

json
{
  "legacyListIdsToIdsMapping": [
    {
      "legacyListId": "string",
      "listId": "string"
    }
  ],
  "missingLegacyListIds": [
    "string"
  ]
}

Need more? See the HubSpot guide for connection setup and behaviour shared by every action.