Access to Projects object type

Any idea when / how I can get access to the newly introduced Projects object records? When calling the API

hubspotClient.crm.objects.basicApi.getById(‘0-970’, projectId)

I get his error:

ApiException [Error]: HTTP-Code: 403
Message: An error occurred.
Body: {“status”:“error”,“message”:“The scope needed for this API call isn’t available for public use. If you have questions, contact support or post in our developer forum.”,“correlationId”:“6c3b06cf-65eb-41a0-b738-1b92065dcf6d”,“links”:{“support”:“https://help.hubspot.com/",“forum”:“https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations”},“category”:"MISSING\_SCOPES”}

Hi @darveesh

API for projects object is not publicly released by HubSpot and there is no scope listed in the private app.

Could you please explain the need for API to pull projects from HubSpot?

Regards,

MD

A bit of an odd question. What is the need for any of these: Understanding the CRM APIs - HubSpot docs ? We use the Data Hub Pro module as we have need for custom code actions. Within these actions we do additional work for our flow - for instance, trigger on a Project property changing value such as PO document signed and then look up the associated deal for the project and create a custom invoice using the deal line items. Right now an entire object type is dark to the Data Hub module. Hope that helps.

Hi @darveesh,
Thank you for posting to the Community!
I’d like to tag in some of our Top Contributors to see if they have any advice on this one.
Hi @Bortami @Mike_Eastwood and @mangelet I hope you all are having a fantastic Tuesday! Do you have any suggestions for @darveesh on the above?
Cassie, Community Manager

Hi @chighsmith

I’ve been wondering the same thing… I’m going to have a crack at the APIs and if I figure it out I will report back.

More soon

Mike

p.s. thank you for the mention @chighsmith

Here to learn more about HubSpot and share my HubSpot Knowledge. I’m the founder of Webalite a Gold HubSpot Partner Agency based in Wellington, New Zealand and the founder of Portal-iQ the world’s first automated HubSpot Portal Audit that helps you work smarter with HubSpot.

If you have the object enabled on your hub, you should be able to use the API.

If you don’t, you won’t be able to access it.

Projects is enabled. We can create Projects in the UI, create Project based workflows, etc. But the API doesn’t work.

Hmm… the APIs seem a bit weird right now.

I can pull the schema for projects by the Id but not by the label (being a superadmin but no scopes?).

I can run a GraphQL for project_collection via the hub but the API endpoint to GET projects/GraphQL for project_collection, like you said, don’t seem to have the scopes accessible yet.

Not sure if this will give you access via the API yet. In your portal, go to the Object Library and activate the Projects object. Then you can access projects in the portal. Kyle’s Tips and Tricks has a video about this on LinkedIn:
https://www.linkedin.com/posts/hubspot-tips-and-tricks_orangehatalert-hubspottipsandtricks-hubspot-activity-7371868273031692289-3Yfe?utm_source=share&utm_medium=member_desktop&rcm=ACoAAE6qJJYBI_8qO9oacAfkPKjdj7zeXvyMPso

Hi @darveesh
Here is the link to the Product API - Accounts Dashboard | HubSpot

curl for same is -
curl --request GET \
 --url https://api.hubapi.com/crm/v3/objects/products \
 --header 'Authorization: Bearer <token>'

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.

Thanks!

Hi GRajput. This not about Product but the newly released CRM Project object.

Small update: Our account manager advised the tenetative date for the Projects API is end of October.