---
title: "Get sets of day passes"
method: GET
path: "/api/v2/organizations/{orgSlug}/passes"
tags: ["Passes"]
---

# Get sets of day passes

`GET /api/v2/organizations/{orgSlug}/passes`

## Request

- Base URL: `https://app.officernd.com`
- URL: `https://app.officernd.com/api/v2/organizations/{orgSlug}/passes`
- Auth: OAuth 2
  - Authorization code: `https://identity.officernd.com/auth/authorize`
  - Client credentials
  - Token URL: `https://identity.officernd.com/auth/token` scopes: `flex.space.passes.read`

Retrieve a list of sets of day passes based on provided filters 

 Required scopes: `flex.space.passes.read`

## Path parameters

- `orgSlug` string, required

## Query parameters

- `_id` string
- `company` string
- `member` string
- `modifiedAt` string
- `createdAt` string
- `$select` string
- `$cursorNext` string
- `$cursorPrev` string
- `$limit` number

## Response `200`

- object
  - `rangeStart` number
  - `rangeEnd` number
  - `cursorNext` string
  - `cursorPrev` string
  - `results` PassesResultDto[]
    - `_id` string: The _id of the set of passes.
    - `count` number: The number of passes granted.
    - `usedCount` number: The number of used passes.
    - `intervalLength` number: Determines the recurrence of the passes. Can be either "month" or "once". If unspecified the credits issued will be set as "once".
    - `startDate` string, date-time: The start date of the monthly recurring passes. Should be used only for credits with "intervalLength" set to "month".
    - `endDate` string, date-time: The end date of the monthly recurring passes. Should be used only for credits with "intervalLength" set to "month".
    - `renewDate` string, date-time: The renew date of the monthly recurring passes. Should be used only for credits with "intervalLength" set to "month".
    - `validFrom` string, date-time: The start date from which the passes are valid.
    - `validTo` string, date-time: The end date for which the passes are valid.
    - `company` string: The _id of the company with which the passes are associated.
    - `member` string: The _id of the member with which the passes are associated.
    - `isPersonal` boolean: Shows if the set of passes is for a single member or if its shared for a company.
    - `membership` string: The _id of the membership with which the passes are associated.
    - `fee` string: Shows if the set of fee is for a single member or if its shared for a company.
    - `shouldGrantActiveStatus` boolean: Shows if the set of passes grants active status to members that do not have active memberships.
    - `resourceType` string: The type of the resource associated to the set of passes.
    - `status` 'used' | 'valid' | 'expired' | 'pending': The status of the set of passes.
    - `createdAt` string, date-time: The date and time of the creation of the set of passes.
    - `createdBy` string: The user that created the set of passes.
    - `modifiedAt` string, date-time: The date and time of the last update the set of passes.
    - `modifiedBy` string: The user that last updated the set of passes.

---

[API](https://skmtc.dev/officernd/apis/space-api.md) - [All operations](https://skmtc.dev/officernd/apis/space-api/llms.txt) - [OpenAPI document](https://skmtc.dev/officernd/apis/space-api/revisions/f7e2e1e4ba60?raw)
