Documentation

← Back to site

List alert triggers for a subdevice

Last updated on June 15, 2016 10:27

This method lists all triggers configured for a specific subdevice.

URL

/api/v1/triggers/list

Parameters

  • subdevice_id - The ID of the subdevice whose triggers we want to list

Response

This method returns an array of triggers for the subdevice. See the 'create' API call for information about the fields returned.

[
  {
    "subdevice_id": 10,
    "id": 34,
    "trigger_type": "motion_started",
    "days_active": 3,
    "all_day": null,
    "start_time": "2000-01-01T12:12:00.000Z",
    "end_time": "2000-01-01T13:00:00.000Z"
  }
]