APIs & Integrations

ajinvise
Participant

Retrieve portal_id via HubAPI?

SOLVE

Im building a oauth app and looking for a 

https://api.hubapi.com endpoint where I can get the portal_id. Does this exist?
0 Upvotes
1 Accepted solution
dennisedson
Solution
Community Manager
Community Manager

Retrieve portal_id via HubAPI?

SOLVE

@ajinvise ,

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

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show

View solution in original post

2 Replies 2
ajinvise
Participant

Retrieve portal_id via HubAPI?

SOLVE

Perfect, thanks Dennis!

dennisedson
Solution
Community Manager
Community Manager

Retrieve portal_id via HubAPI?

SOLVE

@ajinvise ,

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

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show