Skip to main content
GET
/
api
/
public
/
subscriptions
/
status
curl "https://api.crovver.com/api/public/subscriptions/status?publicKey=pk_live_...&tenantId=workspace_123"
{
  "success": true,
  "data": {
    "active": true,
    "status": "active",
    "tenant": { "id": "ten_abc", "name": "Acme Corp", "isActive": true },
    "subscription": {
      "id": "sub_xyz",
      "status": "active",
      "currentPeriodStart": "2025-01-01T00:00:00Z",
      "currentPeriodEnd": "2025-02-01T00:00:00Z",
      "capacityUnits": 15,
      "usedCapacity": 12
    },
    "plan": {
      "id": "plan_pro",
      "name": "Pro",
      "billingInterval": "monthly",
      "features": ["advanced_analytics", "api_access"],
      "limits": { "api_calls": 10000 }
    }
  }
}
Returns the active subscription, plan details, and tenant info for the given tenant.

Request

publicKey
string
required
Your public key (pk_live_... or pk_test_...)
tenantId
string
required
The external tenant ID from your application

Response

success
boolean
data
object
curl "https://api.crovver.com/api/public/subscriptions/status?publicKey=pk_live_...&tenantId=workspace_123"
{
  "success": true,
  "data": {
    "active": true,
    "status": "active",
    "tenant": { "id": "ten_abc", "name": "Acme Corp", "isActive": true },
    "subscription": {
      "id": "sub_xyz",
      "status": "active",
      "currentPeriodStart": "2025-01-01T00:00:00Z",
      "currentPeriodEnd": "2025-02-01T00:00:00Z",
      "capacityUnits": 15,
      "usedCapacity": 12
    },
    "plan": {
      "id": "plan_pro",
      "name": "Pro",
      "billingInterval": "monthly",
      "features": ["advanced_analytics", "api_access"],
      "limits": { "api_calls": 10000 }
    }
  }
}