Is there a way to check if an account is enterprise through the api
It's not currently possible to determine a portal's product tier via the API. In general, you'll want to focus on the scopes your integration is requesting instead of the user's product tier. For example, if your integration is only requesting the
contacts scope, you should expect portals of all product tiers to install your app. If instead you're requesting
automation, only portals with access to the workflows tool (i.e. Pro & Enterprise) will be able to install your app.