SitesDevices

getSiteDevice

GET
/api/v1/sites/{site_id}/devices/{device_id}

Get Device Configuration

Authorization

Authorization<token>

Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.

Format: Authorization: Token {apitoken}

Notes:

  • An API token generated for a specific admin has the same privileges as that admin
  • An API token is automatically removed if it is not used for more than 90 days
  • SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.

In: header

Path Parameters

site_id*string
Formatuuid
device_id*string
Formatuuid

Response Body

curl -X GET "https://example.com/api/v1/sites/000000ab-00ab-00ab-00ab-0000000000ab/devices/000000ab-00ab-00ab-00ab-0000000000ab"

{  "aeroscout": {    "enabled": false,    "host": "aero.pvt.net",    "locate_connected": true  },  "airista": {    "enabled": false  },  "ble_config": {    "beacon_enabled": false,    "beacon_rate": 3,    "beacon_rate_mode": "custom",    "beam_disabled": [      1,      3,      6    ],    "custom_ble_packet_enabled": false,    "custom_ble_packet_frame": "0x........",    "custom_ble_packet_freq_msec": 300,    "eddystone_uid_adv_power": -65,    "eddystone_uid_beams": "2-4,7",    "eddystone_uid_enabled": false,    "eddystone_uid_freq_msec": 200,    "eddystone_uid_instance": "5c5b35000001",    "eddystone_uid_namespace": "2818e3868dec25629ede",    "eddystone_url_adv_power": -65,    "eddystone_url_beams": "2-4,7",    "eddystone_url_enabled": true,    "eddystone_url_freq_msec": 1000,    "eddystone_url_url": "https://www.abc.com",    "ibeacon_adv_power": -65,    "ibeacon_beams": "2-4,7",    "ibeacon_enabled": false,    "ibeacon_freq_msec": 0,    "ibeacon_major": 13,    "ibeacon_minor": 138,    "ibeacon_uuid": "f3f17139-704a-f03a-2786-0400279e37c3",    "power": 6,    "power_mode": "custom"  },  "centrak": {    "enabled": false  },  "client_bridge": {    "auth": {      "psk": "foryoureyesonly",      "type": "psk"    },    "enabled": false,    "ssid": "Uplink-SSID"  },  "created_time": 0,  "deviceprofile_id": "6f4bf402-45f9-2a56-6c8b-7f83d3bc98e9",  "disable_eth1": false,  "disable_eth2": false,  "disable_eth3": false,  "disable_module": false,  "esl_config": {    "cacert": "string",    "channel": 3,    "enabled": false,    "host": "1.1.1.1",    "port": 0,    "type": "imagotag",    "verify_cert": true,    "vlan_id": 1  },  "for_site": true,  "height": 2.75,  "id": "497f6eca-6276-4993-bfeb-53cbbbba6008",  "image1_url": "string",  "image2_url": "string",  "image3_url": "string",  "iot_config": {    "A1": {      "enabled": false,      "name": "motion",      "output": true,      "pullup": "internal",      "value": 0    },    "A2": {      "enabled": false,      "name": "motion",      "output": true,      "pullup": "internal",      "value": 0    },    "A3": {      "enabled": false,      "name": "motion",      "output": true,      "pullup": "internal",      "value": 0    },    "A4": {      "enabled": false,      "name": "motion",      "output": true,      "pullup": "internal",      "value": 0    },    "DI1": {      "enabled": false,      "name": "string",      "pullup": "internal"    },    "DI2": {      "enabled": false,      "name": "string",      "pullup": "internal"    },    "DO": {      "enabled": false,      "name": "motion",      "output": true,      "pullup": "internal",      "value": 0    }  },  "ip_config": {    "dns": [      "8.8.8.8",      "4.4.4.4"    ],    "dns_suffix": [      ".mist.local",      ".mist.com"    ],    "gateway": "10.2.1.254",    "gateway6": "2607:f8b0:4005:808::1",    "ip": "10.2.1.1",    "ip6": "2607:f8b0:4005:808::2004",    "mtu": 1500,    "netmask": "255.255.255.0",    "netmask6": "/32",    "type": "static",    "type6": "static",    "vlan_id": 1  },  "led": {    "brightness": 255,    "enabled": true  },  "locked": true,  "map_id": "63eda950-c6da-11e4-a628-60f81dd250cc",  "mesh": {    "enabled": false,    "group": 1,    "role": "base"  },  "modified_time": 0,  "name": "conference room",  "notes": "slightly off center",  "ntp_servers": [    "string"  ],  "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",  "orientation": 45,  "poe_passthrough": false,  "pwr_config": {    "base": 2000,    "prefer_usb_over_wifi": false  },  "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",  "type": "ap",  "uplink_port_config": {    "dot1x": false,    "keep_wlans_up_if_down": false  },  "usb_config": {    "cacert": "string",    "channel": 3,    "enabled": true,    "host": "1.1.1.1",    "port": 0,    "type": "imagotag",    "verify_cert": true,    "vlan_id": 1  },  "vars": {    "RADIUS_IP1": "172.31.2.5",    "RADIUS_SECRET": "11s64632d"  },  "x": 53.5,  "y": 173.1}