---
title: "Retrieve list of location profile with filtering capabilities."
method: GET
path: "/management/v2/locations"
tags: ["Location Profile"]
---

# Retrieve list of location profile with filtering capabilities.

`GET /management/v2/locations`

## Request

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

Supports searching by name, code, active status, parent location, and other fields using the filters parameter.

## Query parameters

- `filters` string[]
- `op` string
- `cursor` string
- `limit` integer
- `excludeSoft` integer
- `orderBy` string
- `shiftIds` integer[]

## Response `200`

A successful response.

- LocationProfileListResponse
  - `success` boolean
  - `data` V2modelLocationProfile[]
    - `id` integer
    - `code` string
    - `isActive` boolean
    - `parentId` integer
    - `name` string
    - `isWorkplace` boolean
    - `isPayCenter` boolean
    - `payrollExportCode` string
    - `addressId` integer
    - `contactId` integer
    - `createdById` integer
    - `createdAt` string, date-time
    - `modifiedAt` string, date-time
    - `businessNumber` string
    - `address` Tenantlocationv2modelAddress
      - `id` integer
      - `street` string
      - `state` string
      - `postcode` string
      - `country` string
      - `verifiedAt` string, date-time
      - `note` string
      - `print` string
    - `geo` ModelLocationProfileLocationGeo
      - `latitude` number, double
      - `longitude` number, double
  - `nextCursor` string: Cursor to fetch the next page of results. Base64 encoded value. Present only if more results are available. Empty string if this is the last page.

---

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