ConnectSense

Developer

View a Specific Device

Get detailed information about a specific device on your account.

Requirement

Your API token is required for all calls and can be found on your account page when you are signed in to the application.

Definition

GET https://api.connectsense.com/v1/{API_TOKEN}/devices/{DEVICE_SERIAL_NUMBER}

Example Payload

Returns a JSON object containing information about your device.

{
  "serial_number": "123456SE01",
  "name": "Security Sensor 1",
  "last_reported_at": "2013-12-14T09:49:25-05:00",
  "online": true,
  "location": "Garage",
  "triggered": true,
  "recent_reportings" : [
    { "reported_at" : "2013-12-14T09:49:25-05:00", "triggered" : true },
    { "reported_at" : "2013-12-15T09:49:25-05:00", "triggered" : false },
    { "reported_at" : "2013-12-16T09:49:25-05:00", "triggered" : true },
    { "reported_at" : "2013-12-17T09:49:25-05:00", "triggered" : false },
    { "reported_at" : "2013-12-18T09:49:25-05:00", "triggered" : true }
  ]
}