POST /alert

Send an alert for a device.

Resource URL

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

Parameters

None

POST Data

device_id required The id of the device.

Example Value: 555

type required

The alert type.

May Include: emergency_alert, fall_detected_alert, missed_check_in, no_motion_occurred, silent_alert

date optional The date the alert occurred in UTC. Must be in format YYYY-MM-DD hh:mm:ss.

Example Values: 2012-02-28 18:08:05

Example Request

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

Request Data

{
    "device_id":555,
    "type":"no_motion_occurred",
    "date":"2012-08-16 18:08:52"
}

Example Response

No response data is sent on a successful POST.