---
title: "Get Membership Templates"
method: GET
path: "/memberships/templates/"
tags: ["Membership Template"]
---

# Get Membership Templates

`GET /memberships/templates/`

Gets a list of Membership Templates.

## Query parameters

- `sort` string
- `page` integer
- `page_size` integer

## Headers

- `x-api-key` string, required

## Response `200`

MembershipTemplates Data

- ResponseMembershipTemplates — List of Membership Templates
  - `membership_templates` MembershipTemplatesAPI[] — Membership Template Data
    - `id` integer — Membership Template Id
    - `name` string — Membership Name
    - `description` string — Membership Description
    - `membership_type_id` integer — Membership Type Id
    - `membership_type` string — Membership Type
    - `attendance_type_id` integer — Attendance Type Id
    - `attendance_type` string — Attendance Type
    - `attendance_limit` integer — Attendance Limit
    - `attendance_limit_frequency` integer — The frequency/number of days that the class attendance limit applies to.
    - `attendance_limit_type_id` integer — Attendance Limit Type Id
    - `attendance_limit_type` string — Attendance Limit Type
    - `number_of_sessions` integer — The number of sessions for the membership
    - `does_membership_expire` boolean — Determines if the membership expires. Only applicable to Class Packs
    - `expiration_type_id` integer — Expiration Type Id
    - `expiration_type` string — Expiration Type
    - `expiration_length` integer — Expiration Length
    - `revenue_category_id` integer — Revenue Category Id
    - `revenue_category` string — Revenue Category
    - `membership_contract_template_id` integer — Membership Contract Template Id
    - `contract_name` string — Name of the Contract Template on the Membership Template
    - `service_id` integer — The Service Id of the Membership for Appointment Packs
    - `service` string — The Service of the Membership for Appointment Packs
    - `service_duration_id` integer — Id of the Duration for the Service on an Appointment Pack Membership
    - `service_duration_hours` integer — The hours of the Service duration for Appointment Pack Memberships
    - `service_duration_minutes` integer — The minutes of the Service duration for Appointment Pack Memberships
    - `allow_rollover` boolean — When true, can use rollover sessions.
    - `max_total_sessions` integer — The maximum number of sessions that can be used in a booking period (attendance limitation + rollover). Only applies to limited plan memberships. When value is 0, no limit exists.
    - `created` Created — Record creation data.
      - `created_by_id` integer — Unique ID of the user that created the record.
      - `created_by` string — Name of the user that created the record.
      - `created_on_datetime` string, date-time — Datetime on which the record was created.
    - `updated` Updated — Update info
      - `updated_by_id` integer — Unique ID of the user that last updated the record.
      - `updated_by` string — Name of the user that most recently updated the record.
      - `updated_on_datetime` string, date-time — Datetime on which the record was last updated.
  - `pagination` Pagination — Pagination for API method responses.
    - `page` integer, required — Current page number.
    - `page_size` integer, required — Number of records per page.
    - `has_more` boolean, required — True if more records exist beyond the current page.

---

[API](https://skmtc.net/wodify/apis/leads.md) · [All operations](https://skmtc.net/wodify/apis/leads/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wodify/leads/versions/974500ca0714/schema)
