---
title: Get a Device's Policy
slug: jetstream-v2/get-a-devices-policy
docTags: 
createdAt: 2024-01-23T15:41:46.838Z
---

## About

Return a specified device’s policy from your Jetstream application.

## Parameters

| **Property**                                                         | **Location** | **Details**                                                                                                                                                      |
| -------------------------------------------------------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **AccessKey**<br />:::BlockQuote
string&#xA;Required&#xA;Unique
:::  | Header       | The access key for your user account.<br />This value is a 36-character GUID provided in your [user profile](docId\:J0EwjRFepJQeYjQn1T0vQ).                      |
| **DeviceName**<br />:::BlockQuote
string&#xA;Required&#xA;Unique
::: | URL          | The name of the device.<br />This value has a max length of 128 ASCII characters.<br />This value must adhere to this regular expression: ^\[a-zA-Z0-9-\_,. ]\*$ |

## Example

### Request URL

**GET** https\://api.jetstreamrfid.com/3/devices/\{DeviceName}/policy

### Request Body

None Required

### Response Code

200 OK

### Response Body

:::BlockQuote
\{
&#x9;"ID": 0,
&#x20;       "Name": "MyPolicyName",
&#x9;"Parameters": \{
&#x9;	"aggregateeventscancount": "3"
&#x9;},
&#x9;"LastPolicyUpdate": "2018-05-18T20:39:16Z",
&#x9;"LastPolicySync": "2018-05-18T20:39:16Z"
}
:::

## Version Changes

None
