We are working on an app that has an optional custom object that the app will write data into and associate it to a contact record. We can successfully write data into the custom object when it exists on the tenant, the issue is with the initial create of the object.
My question is about provisioning the custom object for the user - when I call the api with the oauth token for the portal I am getting back an error saying that this is not allowed. I have reviewed the scopes available for an app and I dont really see a scope that would allow me to do this. We are considering creating documentation to guide the user through the creation of the custom object by hand, but this does not seem like an ideal solution
Just checking your scopes include crm.schemas.custom.write (which doesn’t appear in the new docs).
This will allow you to push a new Custom Object Definintion into a HubSpot Portal.
Have fun
Mike
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.
Thanks Mike! It looks like this schema is not available to public apps by design? My plan B is to have the users provision it themselves, seems I will just have to make some sturdy documentation to make this simple.