Can we get HubID through Rest API?


#1

Hey guys, I just wonder if there is a way for us to get the hub id through http request instead of login to our account?
Thanks


#2

@Hao

If you’re building an integration for your own company you should really only need to get portal Id once, and then you can store it as a global constant. If you’re building an app for other customers you will receive the portal Id when you send them through the Oauth flow.

Can you please explain more about the use case for needing to get HubId through the API?

Sebastian