---
title: "Retrieve location profile by given Id"
method: GET
path: "/management/v2/locations/{id}"
tags: ["Location Profile"]
---

# Retrieve location profile by given Id

`GET /management/v2/locations/{id}`

## Request

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

Retrieve location profile by given Id.

## Path parameters

- `id` string, required

## Response `200`

A successful response.

- LocationProfileGetResponse
  - `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

---

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