flespi Groups API

[Groups](https://flespi.com/kb/groups-organize-devices-and-simplify-mass-assignments) help to organize of [flespi devices](https://flespi.com/kb/device-virtual-instance-of-real-tracker) and provide automation in automatic assignment them to [plugins](https://flespi.com/kb/plugins-functionality-extensions-for-flespi-devices), [streams](https://flespi.com/kb/stream-forward-data-from-gateway) and [calculators](https://flespi.com/kb/calculators-preconfigured-algorithms-for-intervals-extraction-and-calculating). Groups automate assignment of devices and geofences to calculators, plugins and streams in the same group. You can also use groups to simplify access management to devices in [flespi tokens](https://flespi.com/kb/tokens-access-keys-to-flespi-platform). Special [in-groups ACL option](https://flespi.com/kb/tokens-access-keys-to-flespi-platform#token-groups) provides via the token corresponding access level to all devices inside the group. Groups also simplify devices selection in REST API calls. To select all devices inside group with ID=X for any REST API operation you may use **groups.id=X** in corresponding 'dev-selector'.

GitHub OpenAPI

Operations 27

DELETE /calcs/{calcs.selector}/groups/{calc.groups.selector} Unassign a group from calculator #
GET /calcs/{calcs.selector}/groups/{calc.groups.selector} Fetch groups assigned to the calculator #
POST /calcs/{calcs.selector}/groups/{calc.groups.selector} Assign a group of devices to a calculator #
PUT /calcs/{calcs.selector}/groups/{calc.groups.selector} Update assignment of group of devices to calculator #
POST /groups Create new group #
DELETE /groups/{groups.selector} Delete selected groups #
GET /groups/{groups.selector} List available groups #
PATCH /groups/{groups.selector} Patch item properties #
PUT /groups/{groups.selector} Modify group properties #
DELETE /groups/{groups.selector}/assets/{group.assets.selector} Unassign assets from group #
GET /groups/{groups.selector}/assets/{group.assets.selector} Retrieve assets in group #
POST /groups/{groups.selector}/assets/{group.assets.selector} Assign assets to group #
DELETE /groups/{groups.selector}/devices/{group.devices.selector} Unassign devices from group #
GET /groups/{groups.selector}/devices/{group.devices.selector} Retrieve devices in group #
POST /groups/{groups.selector}/devices/{group.devices.selector} Assign devices to group #
DELETE /groups/{groups.selector}/geofences/{group.geofences.selector} Unassign geofences from group #
GET /groups/{groups.selector}/geofences/{group.geofences.selector} Retrieve geofences in group #
POST /groups/{groups.selector}/geofences/{group.geofences.selector} Assign geofences to group #
GET /groups/{groups.selector}/logs Retrieve group logs #
GET /groups/{groups.selector}/logs/calculate Calculate intervals from group logs #
POST /groups/{groups.selector}/logs/calculate Calculate intervals from group logs #
DELETE /plugins/{plugin.selector}/groups/{plugin.groups.selector} Unassign a group from plugin #
GET /plugins/{plugin.selector}/groups/{plugin.groups.selector} Fetch groups assigned to the plugin #
POST /plugins/{plugin.selector}/groups/{plugin.groups.selector} Assign a group of devices to a plugin #
DELETE /streams/{stream.selector}/groups/{stream.groups.selector} Unsubscribe stream from group #
GET /streams/{stream.selector}/groups/{stream.groups.selector} List groups to which stream is subscribed #
POST /streams/{stream.selector}/groups/{stream.groups.selector} Subscribe stream to group of devices #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/flespi:flespi-groups-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

flespi-groups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'This API (full-stack API for telematics devices) provides methods to create and manage the following instances of the flespi telematics hub that jointly provide the end-to-end communication between the GPS trackers and your target application:

    * **channels** - inbound protocol-specific pipes where the raw data from the trackers get parsed and saved in the unified JSON format in the buffer for further consumption.

    * **devices** - virtual representations of the physical trackers on the flespi platform. Allow organizing messages storage by device (ident), remote device configuration, dedicated long-term storage, video telematics functionality, access to telemetry and much more.

    * **streams** - outbound data flows preformatted to forward the telematics data to specific target platforms (e.g. Google Pub/Sub, Amazon AWS IoT, Microsoft Azure IoT, and more).

    * **calculators** - sets of rules for detecting intervals and computing the associated values for them; integral prt of the flespi analytics engine.

    * **plugins** - allow extending the standard set of device parameters with additional ones required by specific platforms or applications, including copy of message into other devices, cancelling message registration and even enriching message parameters from your system via webhook.

    * **modems** - instance connecting the flespi platform with an SMS service provider for sending configurational text messages to change device settings.

    * **protocols** - access to the list of protocols, device types, available message parameters and commands.


    To identify each REST request flespi token has to be passed in the HTTP call via the header: **Authorization: FlespiToken XXXXXXXXXX**.

    The limit of URI component is 64 KiB.

    A request fails with 503 Service Unavailable when the server sends no response data for 300 seconds.


    All changes to the gateway items are recorded in the common logs subsystem.'
  title: flespi Telematics Hub REST Groups API
  version: '1.0'
servers:
- url: https://flespi.io/gw
- url: http://flespi.io/gw
tags:


# --- truncated at 32 KB (199 KB total) ---
# Full source: https://artifacts.apis.io/flespi/openapi/flespi-groups-api-openapi.yml