Skip to content

Get device triggers

GET
/devices/id/notificationTriggers

Parameters

Path Parameters

id*

device id

Typenumber
Required

Query Parameters

filter

JSON Filter object

Typestring

Responses

Request was successful
JSON
[
null
]

Samples

cURL
curl -X GET https://api.lightbug.cloud/api/devices/id/notificationTriggers
JavaScript
fetch("https://api.lightbug.cloud/api/devices/id/notificationTriggers")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("https://api.lightbug.cloud/api/devices/id/notificationTriggers");
Python
import requests
response = requests.get("https://api.lightbug.cloud/api/devices/id/notificationTriggers")
print(response.json())