---
title: "List the current buyer's membership passes"
method: POST
path: "/account/membership/passes/query"
tags: ["Membership"]
---

# List the current buyer's membership passes

`POST /account/membership/passes/query`

## Request

- Base URL: `https://api.session.services`
- URL: `https://api.session.services/account/membership/passes/query`
- Auth: API key in header `x-tenant-id`

## Request body

- object
  - `teamId` string

## Response `200`

OK

- object
  - `passes` object[], required
    - `id` string, required: Membership pass ID
    - `programId` string, required
    - `teamId` string, required
    - `userId` string, required
    - `memberNumber` integer, required: Sequential number identifying the pass within its program. The first pass receives 200.
    - `state` 'ACTIVE' | 'SUSPENDED' | 'INACTIVE', required
    - `active` boolean, required: True while the pass is ACTIVE and its paid term has not ended
    - `paidThrough` string, date-time, required: End of the latest paid annual term
    - `cancelAt` string, date-time: Present when renewal is scheduled to stop. Benefits continue until paidThrough.
    - `complimentary` boolean, required: True while the current term was granted by staff for free. It never renews; a paidThrough of MEMBERSHIP_NO_END means it has no end date.
    - `createdAt` string, date-time, required

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403
- `404`: 404
- `409`: 409
- `412`: 412
- `422`: 422
- `429`: 429
- `500`: 500
- `501`: 501
- `503`: 503

## Changes

- **2026-11-09** `38649d1c1ac7`: 1 warning
  - the `teamId` request property's maxLength was set to `128`
- **2026-11-09** `24b4e38e7054`: 4 breaking
  - the `passes/items/cancelAt` response's property format changed from `date-time` to no format for status `200`
  - the `passes/items/createdAt` response's property format changed from `date-time` to no format for status `200`
  - the `passes/items/memberNumber` response's property type changed from `integer` to `number` for status `200`
  - the `passes/items/paidThrough` response's property format changed from `date-time` to no format for status `200`
- **2026-09-26** `b06650f199b3`: 1 info
  - added the required property `passes/items/complimentary` to the response with the `200` status
- **2026-09-21** `ec5d8889f2d0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/session/apis/session-services-api/changes/account/membership/passes/query/post.md)

---

[API](https://skmtc.dev/session/apis/session-services-api.md) - [All operations](https://skmtc.dev/session/apis/session-services-api/llms.txt) - [OpenAPI document](https://skmtc.dev/session/apis/session-services-api/revisions/9346dc3eea56?raw)
