List membership levels
Membership levels with their renewal type and whether applications need approval or payment.
GET https://cotlet.dev/api/v1/wild-apricot/membership-levels
read
Returns the levels under Members > Levels. renewal_type is Application date, Specific date or Lifetime. approval_required mirrors the setting Membership applications must be approved by administrator, payment_required mirrors Payment has to be received in full, and public mirrors Public can apply for this level.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/wild-apricot/membership-levels \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("wild-apricot", "list_membership_levels") const result = await cotlet.call('wild-apricot', 'list_membership_levels'); cotlet call wild-apricot list_membership_levels Example response
{
"levels": [
{
"level_id": 1203,
"name": "Individual",
"renewal_type": "Specific date",
"approval_required": true,
"payment_required": true,
"public": true
},
{
"level_id": 1204,
"name": "Lifetime",
"renewal_type": "Lifetime",
"approval_required": false,
"payment_required": true,
"public": false
}
]
}