Automatically translate this page?

Teltonika device data via API

Obtain telematics data from Teltonika devices via API in 5 easy steps.

Obtain telematics data from Teltonika devices via API in 5 easy steps:

  1. Create a free flespi account.

  2. Set up the Teltonika channel in your flespi.io interface.

  3. Point a Teltonika device to your flespi account using the configurator from Teltonika or by sending an SMS command to the device.

  4. Confirm that the device data is being received and parsed.

  5. Access Teltonika device data via API.

Bonus: Video guide


1. Create a free flespi account

(a) Go to www.flespi.io and click on LOGIN / REGISTER:

flespi login page

(b) You can choose from a number of third-party service accounts to log-in under or the right-most option @ to register with your name and email address: 

flespi login method

2. Set up the Teltonika channel in your flespi.io interface:
(a) Click on Telematics Hub (1), then on Channels (2), then on the plus button in the lower right corner of the screen (3).

flespi channels section

(b) The Channel dialogue box will come up. Enter the name for the channel (any text will suffice) (1), select “teltonika” in the protocol_id drop-down (2), click SAVE + OPEN (3):

create teltonika channel flespi

(c) Channel dialogue will open. Make a note of the domain name and port that you should point your device to. IMPORTANT: The image below indicates where to find the info and is NOT an actual domain/port for you to use. 

flespi channel dns and port

3. Point your Teltonika device to your flespi account using the Teltonika configurator tool or by sending an SMS command to the device. The domain name and port to point to are located in the channel box. 

4. Confirm that the device data is being received and parsed:
(a) While in the channel dialogue box, click on the TOOLBOX tab:

flespi teltonika channel card

(b) Ensure BOTH Logs and Messages views are selected. Inspect log records (1) to confirm that your device has successfully connected to flespi. The presence of messages in the lower half of the screen (2) will confirm that the incoming data is parsed.

flespi teltonika channel toolbox

In case of any issues, check our troubleshooting checklist.

5. Access Teltonika device data via API:

(a) Make a note of what your Channel ID is:

flespi channel id

(b) Click on REST API Documentation menu item in the lower left corner:

flespi rest api documentation

(c) In the menu on the left under Gateway API click on channels:

flespi rest gateway api

(d) Scroll down until you see GET /channels/{1-ch-selector}/messages request. Click on it to reveal additional fields. 

flespi rest gateway api channels

(e) Put in your channel ID into the 1-ch-selector field.

flespi rest api channel id

(f) Scroll a little lower until you see Try it out! button and press it:

flespi rest api try it out

(g) And here you have it. Teltonika device messages in an easy to read JSON format:

flespi rest api response result

P.S. We also created a short Youtube video to guide you through all the above steps:

What's next?