Devices

Retrieving devices.

Retrieves the devices that belong to your organization. You may also request devices shared with your organization via First Responder Jurisdiction (FRJ) by passing include_frj=true.

get/devices

Request

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

Query parameters

latitudenumber

Used to filter by area.

longitudenumber

Used to filter by area.

radiusinteger

Used to filter by area.

pageinteger

The page from which to retrieve results.

pageSizeinteger

The maximum number of results that should be on each page.

include_frjboolean

When true, includes devices shared with your organization via First Responder Jurisdiction (FRJ).

Response

The devices were successfully retrieved.

totalItemsnumber required

The total number of devices that are available to view.

totalPagesnumber required

The total number of pages.

nextPagestring uri

The URL for the next page of results. Omitted on the final page.

Example response

{
  "results": [
    {
      "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"
      }
    }
  ],
  "totalItems": 2,
  "totalPages": 1
}

Changes

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