---
title: "Gets a value of a shadow property"
method: GET
path: "/shadows/v2/{trackingId}/{state}/{selector}"
tags: ["Shadows"]
---

# Gets a value of a shadow property

`GET /shadows/v2/{trackingId}/{state}/{selector}`

Gets a value of a single property of either `desired` or `reported` state objects of a device.
One can use JSON selectors to specify the target property or reference it by name.
In case the property contains an object, the entire object will be returned in the response.

The JSON selector can be nested like this: `payload/time/minutes`

## Response `200`

Successful

The content type is defined as "text/plain" or "application/json"
depending on the type of the property.

- union
  - object
  - unknown[]
    - unknown

## Other responses

- `400` — Bad request The request object is in an incorrect format or has values that are invalid or out of range. If available, further error details are provided in the response body.
- `401` — Unauthorized The request did not provide correct authentication details
- `403` — Forbidden The account does not have the correct privileges
- `404` — Not found. Shadow doesn't exist
- `422` — The specified property doesn't exist in the shadow for the device.

---

[API](https://skmtc.net/here/apis/tracking.md) · [All operations](https://skmtc.net/here/apis/tracking/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/here/tracking/versions/efa162f7023c/schema)
