GET /alert

Retrieves a list of all unresolved alerts in an account. For a list of valid status and resolution_reasons see Alert PUT.

Resource URL

https://production-connect.blacklinesafety.com/1/alert

Parameters

None

Example Request

GET https://production-connect.blacklinesafety.com/1/alert?access_token=abcd

Example Response

[
    {
        "id":1234,
        "device_name":"Jim Parsons",
        "device_id":415,
        "status":"unacknowledged",
        "type":"fall_detected_alert",
        "date_last_modified":"2012-09-17 14:17:01",
        "date_created":"2012-09-17 14:17:00",
        "note": "Note attached to the alert"
    },
    {
        "id":1267,
        "device_name":"Jim Parsons",
        "device_id":415,
        "status":"unacknowledged",
        "type":"no_motion_occurred",
        "date_last_modified":"2012-09-14 23:44:01",
        "date_created":"2012-09-14 23:44:00",
        "note": "Note attached to the alert"
    },
    {
        "id":1299,
        "device_name":"Johnny Galecki",
        "device_id":410,
        "status":"unacknowledged",
        "type":"low_battery",
        "date_last_modified":"2012-09-14 15:42:45",
        "date_created":"2010-01-02 00:00:02",
        "note": "Note attached to the alert"
    }
]