Retrieve portal_id via HubAPI?

Im building a oauth app and looking for a

https://api.hubapi.com endpoint where I can get the portal_id. Does this exist?

@ajinvise ,

You can get the hub_id from the auth token. Check out this doc and and this one

Perfect, thanks Dennis!