---
title: "Retrieve assignments by resource and/or membership"
method: GET
path: "/api/v2/organizations/{orgSlug}/assignments"
tags: ["Assignments"]
---

# Retrieve assignments by resource and/or membership

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

Get paged assignments. At least one of resource or membership is required. Supports single ids and array filters via $in (e.g. "/assignments?resource[$in]=id1,id2"). 

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

## Path parameters

- `orgSlug` string, required

## Query parameters

- `resource` string
- `membership` 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` AssignmentResultDto[]
    - `_id` string — The _id of the assignment.
    - `resource` string — The _id of the resource with which the assignment is associated.
    - `membership` string — The _id of the membership with which the assignment is associated.
    - `startDate` string, date-time — The start date of the assignment.
    - `endDate` string, date-time — The end date of the assignment.

---

[API](https://skmtc.dev/officernd/apis/authentication-api.md) · [All operations](https://skmtc.dev/officernd/apis/authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/officernd/authentication-api/revisions/6bcd33dc648e/schema)
