Lists, Lead Scoring & Workflows

aseck-avg
Participant

How do I create a HubSpot portal link for a list using the ILS List ID from the v3 API for Lists?

Hello,

 

I have been exploring a switch to the version 3 endpoints of the Lists API. These endpoints work with list IDs (ILS) that are different from the legacy list IDs. However, when I try to use these new list IDs to generate a portal link with the URL template https://app.hubspot.com/contacts/{portal_id}/lists/{list_id}/, HubSpot does not send me to the correct list. In other words, the list_id part of the URL template doesn't work with these new ILS List IDs.

 

Am I missing something here? Is there a way to create portal links using these ILS List IDs?

0 Upvotes
3 Replies 3
PamCotton
Community Manager
Community Manager

How do I create a HubSpot portal link for a list using the ILS List ID from the v3 API for Lists?

Hey @aseck-avg, thank you for reaching out to our Community!

 

To generate the correct portal link, you need the legacy list ID. Use the v3 API to fetch list details using the ILS List ID and look for the legacy list ID in the response. Once you have the legacy list ID, you can construct the portal link using the URL template with the legacy ID. Replace your_portal_id, your_ils_list_id, and your_access_token with your actual values. This should help you generate the correct portal link.

 

To our top experts @Anton and @DanielSanchez do you have any other recommendation for @aseck-avg matter?

 

Thank you,

Pam 

Você sabia que a Comunidade está disponível em outros idiomas?
Participe de conversas regionais, alterando suas configurações de idioma !


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !




aseck-avg
Participant

How do I create a HubSpot portal link for a list using the ILS List ID from the v3 API for Lists?

Hi @PamCotton thanks for the reply. Your recommendation is what I kind of started with, but it requires an extra API call whenever I create a list, since the list creation endpoint does not return the legacy list ID. As a result, I have to create the list (one API call), and then get the list's information (another API call) via the search endpoint with the `additionalProperties` parameter set to something that includes the property `hs_classic_list_id`. This would actually be fine, if there was no noticeable delay between when a list gets created and when it becomes searchable. But there is a fairly noticeable lag between these two events.

I really appreciate the suggestion, though.

 

If anyone else has a better solution, I am all eyes.

 

Thanks,

Abdou

0 Upvotes
PamCotton
Community Manager
Community Manager

How do I create a HubSpot portal link for a list using the ILS List ID from the v3 API for Lists?

Hey @aseck-avg, thank you for the update.

 

@Anton and @DanielSanchez do you have any recommendations for our @aseck-avg matter?

 

Thank you,

Pam

Você sabia que a Comunidade está disponível em outros idiomas?
Participe de conversas regionais, alterando suas configurações de idioma !


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !




0 Upvotes