List memberships
civicrm_list_membershipsMemberships with contact, membership type, status (New, Current, Grace, Expired, ...), join, start and end date. Filter by contact, status, type, or those ending before a date (renewal follow-up). Test memberships are left out. APIv4 Membership.get.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Records per call, 1-100 (default 25). | |
| offset | No | How many records to skip (default 0). Pass the previous reply's next_offset. | |
| status | No | Only this status by name, e.g. Current, Grace, Expired, Cancelled. | |
| contact_id | No | Only this contact's memberships. | |
| ends_after | No | Only memberships that end on or after this date. | |
| ends_before | No | Only memberships that end on or before this date. | |
| membership_type | No | Only this membership type by name, e.g. General. |