DocsAPI ReferenceDashboard/bff/dashboard/upcoming-renewals
getDashboardAdmin BFF

/bff/dashboard/upcoming-renewals

Lists subscriptions due for renewal soon. Enables proactive churn prevention - better than reacting after the fact.

DashboardgetBffDashboardUpcoming-renewals

Parameters

1 query

1 total
Query · 1
daysnumber

Days ahead to check. Defaults to 30.

Default: 30

Request

GET /bff/dashboard/upcoming-renewals

get
curl -X GET "https://api.bizkithub.com/bff/dashboard/upcoming-renewals?days=30" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

Upcoming renewals analysis.

{
  "summary": {
    "totalRenewals": 0,
    "totalMrrAtRisk": 0,
    "autoRenewCount": 0,
    "manualRenewCount": 0
  },
  "byTimeBucket": {
    "thisWeek": {
      "count": 0,
      "mrr": 0
    },
    "nextWeek": {
      "count": 0,
      "mrr": 0
    },
    "thisMonth": {
      "count": 0,
      "mrr": 0
    },
    "later": {
      "count": 0,
      "mrr": 0
    }
  },
  "renewals": [
    {
      "subscriptionId": 0,
      "externalId": "example_externalId",
      "customerName": "example_customerName",
      "customerEmail": "example_customerEmail",
      "productName": "example_productName",
      "renewalDate": "example_renewalDate",
      "price": 0,
      "autoRenew": false,
      "daysUntilRenewal": 0
    }
  ],
  "currency": "example_currency"
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key