Devices

Retrieving a device.

Retrieves a particular device. Pass include_frj=true to also search devices shared with your organization via First Responder Jurisdiction (FRJ).

get/devices/{deviceId}

Request

  • Base URL
    https://api.flocksafety.com/api/v4
  • URL
    https://api.flocksafety.com/api/v4/devices/{deviceId}
  • Auth
    HTTP bearer

Path parameters

deviceIdstring uuid required

The ID of the device.

Query parameters

include_frjboolean

When true, also searches devices shared via First Responder Jurisdiction (FRJ).

Response

The device was successfully retrieved.

idstring required

The ID of the device.

type'camera' | 'video' | 'audio' required

The device's type.

namestring required

The name of the device.

metadataobject required

Metadata about the device.

linkstring

A link to view the device in the Flock UI.

Example response

{
  "location": {
    "latitude": 40.783979987434215,
    "longitude": -73.97539595767532
  },
  "network": {
    "id": "72d97364-3f45-4e16-ae52-631aea3141cc",
    "name": "Twin Peaks PD - Falcons"
  },
  "link": "https://hotlist.flocksafety.com/dispatch/type/audio?id=00000000-0000-0000-000000000000",
  "organization": {
    "id": "72d97364-3f45-4e16-ae52-631aea3141cc",
    "name": "Twin Peaks PD"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.