---
title: "Get weekly aggregated employee sentiment data by location"
method: GET
path: "/v2/employee-sentiment/start/{start}/end/{end}/location-id/{locationId}/weekly"
tags: ["Employee Sentiment"]
---

# Get weekly aggregated employee sentiment data by location

`GET /v2/employee-sentiment/start/{start}/end/{end}/location-id/{locationId}/weekly`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/v2/employee-sentiment/start/{start}/end/{end}/location-id/{locationId}/weekly`
- Auth: API key in header `OAuth`

Get weekly aggregated employee sentiment data by location.

## Path parameters

- `start` string, required
- `end` string, required
- `locationId` integer, required

## Response `200`

A successful response.

- EmployeeSentimentGetWeeklyAggregatedResponse
  - `success` boolean
  - `data` ModelEmployeeSentimentWeekly
    - `start` string
    - `end` string
    - `locationId` integer
    - `sentiments` ModelEmployeeSentimentWeeklyAverage[]
      - `start` string
      - `average` number, float
    - `comments` 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)
