---
title: Get device location details
slug: cps-guide/mdm-epmm/get-device-location-details
createdAt: 2026-10-06T07:45:20.671Z
---

This API returns device location details of the target device.

## HTTP Method

POST

## Request URI

/msa/v1/cps/device/location

## Request parameters

| Parameter   | Description                                                                                                                                                                                                                                 | Sample Value |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| identifiers | Required<br />Parameter Type: Request body<br />**Data Type:** String<br />List of UEM identifiers in this format:<br />\{<br />"identifiers":\["mdm-id-1", "mdm-id-2"]<br />}<br />See [List of identifiers](docId:0FgXpF4sPOcu6M7eESvy1). |              |

## Example response

```javascript
[
    {
        "deviceMdmId": "id-1", 
        "lastCaptured": 1525260287000, 
        "location": {
            "latitude": "-6.446318", 
            "longitude": "8.305312"
        }
    }, 
    {
        "deviceMdmId": "id-2", 
        "lastCaptured": 1525260287000, 
        "location": {
            "latitude": "5.178482", 
            "longitude": "240.943423"
        }
    }
]
```
