---
title: "Retrieve list of location setting"
method: POST
path: "/management/v2/locations/settings:fetch"
tags: ["Location Setting"]
---

# Retrieve list of location setting

`POST /management/v2/locations/settings:fetch`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/locations/settings:fetch`
- Auth: API key in header `OAuth`

Retrieve list of location setting.

## Request body

- LocationSettingFetchRequestData
  - `ids` integer[]
  - `keys` string[]
  - `shiftIds` integer[]: Optional shift IDs for context-based filtering. When provided, can be used to apply permission bypass logic for cross-location shifts or open shift invitations.

## Response `200`

A successful response.

- LocationSettingFetchResponse
  - `data` object
  - `success` 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)
