Active memberships
membership_summaryActive memberships at one site today: how many clients are members, how many hold each membership (names from get_memberships), memberships nobody holds, and how many current memberships became active in the range (startedInRange, a substitute for "new members": memberships that have since ended are not seen). A snapshot of today, with no comparison or past date. Every active profile is read; above 10000 a call returns their count and credits until confirmLargeRead is true. For new clients and first visits use new_clients_summary; for members who may not renew use clients_at_risk; for revenue use sales_summary. Mindbody calls: 1 per 200 active client profiles, 1 per 200 active clients for memberships and 1 for membership names (at most 1001).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Rows in byMembership, 1-25 (default 10); the rest is folded into one row. | |
| range | No | Window for startedInRange, ending today (default last_30_days). Every other count is as of today. | |
| siteId | No | Site to call (SiteId header). Default -99. | |
| endDate | No | Last day for startedInRange, inclusive (default today). At most 366 days after startDate. | |
| startDate | No | First day for startedInRange, e.g. 2026-09-01. Default: 30 days ending endDate. | |
| nameContains | No | Count only memberships whose name contains this, e.g. "kids". | |
| membershipIds | No | Count only these memberships (at most 100). | |
| confirmLargeRead | No | Read every profile of a large site (default false: return their count and credits first). |