flespi Protocols API

Full [list of available channel protocols](https://flespi.com/protocols) you can find by the link. A [channel](https://flespi.com/kb/channel-entry-point-to-gateway) protocol defines the way a channel transforms the incoming raw data stream from the telematics devices and converts it into normalized messages in JSON format. Each protocol defines a list of integrated [device types](https://flespi.com/devices) with the [schemas of commands and settings](https://flespi.com/kb/commands-and-settings) available for each of them. Each device type defines a schema of the device configuration (see more in the [devices](https://flespi.io/docs/#/gw/!/devices) section of REST API). A [stream](https://flespi.com/kb/stream-forward-data-from-gateway) protocol defines the format flespi uses to forward telematics device data into 3rd party systems. A [plugin](https://flespi.com/kb/plugins-functionality-extensions-for-flespi-devices) types is used to transform the message from telematics device - add some field, remove them, restore from telemetry and even cancel message registration or copy it into another device. Integration of new channel, stream protocols and plugin types is available [upon request](https://flespi.com/kb/hardware-integration). To stay current with protocol updates, subscribe to 'flespi/message/gw/channel-protocols/{protocol-id}/changelog' (same for 'stream-protocols' and 'plugin-types') MQTT topic delivering any changes published in the protocol [changelog](https://forum.flespi.com/t/changelog). The accumulated history of such posts is available with the 'GET /gw/channel-protocols/{selector}/changelog-posts' request (same for 'stream-protocols' and 'plugin-types'). Each post carries the 'title', 'url' and 'author' of the original forum post, its 'text' in markdown, the publication 'timestamp', and the 'name' of the protocol or plugin type it belongs to. ###### Protocol transports The 'transport' field is a bitmask of the transports the protocol's channels support. Bit | Transport -----|---------- 0x1 | Listen to TCP connections 0x2 | Handle UDP packets 0x4 | Protocol channel operates as HTTP server 0x8 | Protocol handles SMS messages 0x10 | Protocol channel operates as MQTT transport 0x20 | Another tg channel as input 0x40 | Custom 0x80 | Protocol operates as FTP server/client ###### Protocol and device type features A protocol advertises its capabilities through the 'features' object, requestable via the 'fields' parameter. Device types inherit their protocol's flags and may add their own. Flag | Meaning ------------------|-------- raw_packets | Channel with this protocol can store raw traffic packets shared_connection | A single connection to the channel can be shared between multiple device idents tls | Protocol supports a TLS-secured transport media_data | Protocol can process media payloads (photos, video files) media_commands | Protocol supports media commands (request_video, take_photo, etc.) tacho_commands | Protocol supports tachograph commands (request_tachograph_file) assistance | Device type only - indexed documentation is available for AI assistance

GitHub OpenAPI

Operations 8

GET /channel-protocols/{channel-protocols.selector} Fetch available channel protocols #
GET /channel-protocols/{channel-protocols.selector}/changelog-posts Fetch changelog posts of channel protocols #
GET /channel-protocols/{channel-protocols.selector}/device-types/{devtypes.selector} Get available device types withing selected channel protocols #
GET /message-parameters/{message-parameter.selector} Fetch standard message parameters #
GET /plugin-types/{plugin-types.selector} Fetch available plugin types #
GET /plugin-types/{plugin-types.selector}/changelog-posts Fetch changelog posts of plugin types #
GET /stream-protocols/{stream-protocols.selector} Fetch available stream protocols #
GET /stream-protocols/{stream-protocols.selector}/changelog-posts Fetch changelog posts of stream protocols #

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-protocols-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-protocols-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 Protocols API
  version: '1.0'
servers:
- url: https://flespi.io/gw
- url: http://flespi.io/gw
tags:


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