---
title: "Get shift log new"
method: GET
path: "/management/v2/shifts/{id}/log"
tags: ["Shifts"]
---

# Get shift log new

`GET /management/v2/shifts/{id}/log`

## Request

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

Get shift log new.

## Path parameters

- `id` integer, required

## Query parameters

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

## Response `200`

A successful response.

- ScheduleShiftLogResponse
  - `success` boolean
  - `data` ModelShiftLogData
    - `groups` ShiftLogDataShiftLogGroup[]
      - `date` string
      - `timezone` string
      - `events` ShiftLogGroupShiftLogEvent[]
        - `photoUrl` string
        - `name` string
        - `type` string
        - `updated` string
        - `details` ShiftLogGroupShiftLogEventDetail[]
          - `field` string
          - `old` string
          - `new` string

---

[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)
