---
title: "get open shift invitation list"
method: GET
path: "/management/v2/shifts/{id}/open:invitations"
tags: ["Shifts"]
---

# get open shift invitation list

`GET /management/v2/shifts/{id}/open:invitations`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/shifts/{id}/open:invitations`
- Auth: API key in header `OAuth`

get open shift invitation list.

## Path parameters

- `id` integer, required

## Query parameters

- `expandMetadata` boolean
- `viewContext` 'EMPLOYEE' | 'MANAGER'

## Response `200`

A successful response.

- ScheduleShiftGetOpenInvitationsResponse
  - `success` boolean
  - `data` GetOpenInvitationsResponseOpenInvitationsData[]
    - `employee` ScheduleShiftGetOpenInvitationsResponseEmployee
      - `id` integer
      - `displayName` string
      - `photoUrl` string
    - `offerCreator` ScheduleShiftGetOpenInvitationsResponseEmployee
      - `id` integer
      - `displayName` string
      - `photoUrl` string
    - `message` string
    - `status` 'AWAITING' | 'DECLINED'
    - `cost` number, float
    - `hoursThisWeek` number, float
    - `isOutsideShiftLocation` boolean

---

[API](https://skmtc.dev/deputy/apis/deputy-v2-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v2-api/revisions/78f0278f4608?raw)
