Query Regarding Dynamic Content Loading in HubSpot (PRE_FETCH_OPTIONS)

Dear Hubspot Team,

I have a query regarding fetching the user’s current portal ID to dynamically load content in HubSpot. I believe this is a crucial aspect for enhancing user experience and personalization within our community.

One of the challenges we’re facing is determining the most efficient method to retrieve the user’s portal ID dynamically. Our goal is to utilize this information to populate dropdown menus with relevant content tailored to each user’s portal.

Before proceeding further, I wanted to reach out to gather some insights and recommendations from your team. Could you please provide guidance on the best practices or APIs available for fetching the user’s current portal ID within the HubSpot community platform?

Additionally, if there are any specific considerations or limitations we should be aware of, we would greatly appreciate your input.

Thank you for your time and assistance. I look forward to your valuable insights.

Hi, @DM33 :waving_hand: Thanks for your question. The two endpoints I found that will return a portal ID are:

Hey, @zach_threadint @Phil_Vallender @himanshurauthan, do you have any additional suggestions or other ways @DM33 might achieve their goal?

Best,

Jaycee