Skip to main content
GET
/
api
/
public
/
can-access
curl "https://api.crovver.com/api/public/can-access?publicKey=pk_live_...&featureKey=advanced_analytics&requestingEntityId=workspace_123"
{
  "success": true,
  "data": {
    "canAccess": true,
    "featureKey": "advanced_analytics",
    "requestingEntityId": "workspace_123"
  }
}
Returns whether the tenant’s active plan includes the requested feature key.

Query Parameters

publicKey
string
required
Your public key (pk_live_...)
featureKey
string
required
The feature key to check (must match a key in plan.features)
requestingEntityId
string
required
The external tenant ID from your application

Response

data.canAccess
boolean
Whether the tenant can access the feature
data.featureKey
string
The feature key that was checked
data.requestingEntityId
string
The tenant ID that was checked
curl "https://api.crovver.com/api/public/can-access?publicKey=pk_live_...&featureKey=advanced_analytics&requestingEntityId=workspace_123"
{
  "success": true,
  "data": {
    "canAccess": true,
    "featureKey": "advanced_analytics",
    "requestingEntityId": "workspace_123"
  }
}