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
curl https://cotlet.dev/api/v1/wild-apricot/membership-levels \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("wild-apricot", "list_membership_levels")
Node.js
const result = await cotlet.call('wild-apricot', 'list_membership_levels');
CLI
cotlet call wild-apricot list_membership_levels

Example response

JSON

{
  "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
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.