APIs & Integrations

ajinvise
Participant | Elite Partner
Participant | Elite Partner

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
HubSpot Product Team
HubSpot Product Team

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

View solution in original post

2 Replies 2
ajinvise
Participant | Elite Partner
Participant | Elite Partner

Retrieve portal_id via HubAPI?

SOLVE

Perfect, thanks Dennis!

dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

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