APIs & Integrations

MKyaw
Member | Platinum Partner
Member | Platinum Partner

Private app migration missing scopes

SOLVE

Hi.

 

I am trying to set up private app scopes for the API key switchover to private apps and I'm not seeing these under the private app scopes. Can you point me to the right scopes for the following endpoints?

 

 

To confirm:

  • Does Standard > content scope cover CRUD operations for pages and blogs?

 

Thank you.

0 Upvotes
1 Accepted solution
Jaycee_Lewis
Solution
Community Manager
Community Manager

Private app migration missing scopes

SOLVE

Hey, @MKyaw  👋 Thanks for the great question! For Private apps, the content scope is the correct scope to add for the endpoints you listed. I tested two of the above with a quick test:

  • I created a new Private App with only one scope — content
    content-scope-only.png
  • I tested both of these endpoints:
    GET http://api.hubapi.com/content/api/v2/layouts?limit=1
    
    GET http://api.hubapi.com/content/api/v2/templates​
  • I received a 200 OK response for both
    postman-ok-1.png

 Please let us know if you need any additional help! 

 

Have fun building 😊 — Jaycee


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !

View solution in original post

0 Upvotes
1 Reply 1
Jaycee_Lewis
Solution
Community Manager
Community Manager

Private app migration missing scopes

SOLVE

Hey, @MKyaw  👋 Thanks for the great question! For Private apps, the content scope is the correct scope to add for the endpoints you listed. I tested two of the above with a quick test:

  • I created a new Private App with only one scope — content
    content-scope-only.png
  • I tested both of these endpoints:
    GET http://api.hubapi.com/content/api/v2/layouts?limit=1
    
    GET http://api.hubapi.com/content/api/v2/templates​
  • I received a 200 OK response for both
    postman-ok-1.png

 Please let us know if you need any additional help! 

 

Have fun building 😊 — Jaycee


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 Upvotes