Jump to content

FOTA WEB Getting Started API: Difference between revisions

No edit summary
No edit summary
Tag: Reverted
(8 intermediate revisions by 2 users not shown)
Line 3: Line 3:
=='''API introduction'''==
=='''API introduction'''==


FOTA WEB API allows use of system functions in your own application. If you have a user in FOTA WEB then you already have API access!
The FOTA WEB API allows you to integrate system functions into your own application. If you already have a user account in FOTA WEB, you automatically have access to the API! What can you do with the API? You can implement any feature available in our WEB UI, and even more, into your own application. For example, if you have fleet management software and want to create configuration updates, you can! If you need to set firmware updates, you can also do that!
What can I do with the API? You can implement any feature and even more from what is available in our WEB UI into your own. If you have your fleet management software and want to create configuration update from it, you can! If want to set firmware updates, you can!


=='''Getting Started API'''==
=='''Getting Started API'''==
Line 17: Line 16:
'''Step 1.''' To create token Login to '''https://fota.teltonika.lt'''
'''Step 1.''' To create token Login to '''https://fota.teltonika.lt'''


'''Step 2.''' Go to settings at top right corner and find '''API Tokens''' settings.
'''Step 2.''' Go to the top right corner and find '''API Tokens''' in the '''Settings'''.
[[Image:Settings_API.png|300px|center]]
[[Image:FOTA WEB settings 5.png|300px|center]]'''Step 3.''' Next, click the '''Add Token''' button.[[File:API tokens1.png|thumb|center]]
'''Step 4.''' Choose '''Token type>>API integration token''', write '''Token name''', and press '''Generate''' button.
[[Image:Generate API tokens.png|300px|center]]


'''Step 3.''' Write name for the '''New token''' and press '''Create.'''
'''Step 5.''' After the token is generated, copy it by clicking the copy button or by manually selecting and copying it.
[[Image:API_tokens_3.png|550px|center]]
[[Image:Generated API token.png|[[File:Generated API token.png|thumb]]550|center]]


'''Step 4.''' Press on the Token to copy or select it and copy manually.
[[Image:API_tokens_2.png|550|center]]


'''Important!''' After you close the window you will not be able to check Token again. For security, the Token is not saved to the system. If you lose your token or delete an existing one, you will have to create a new one.
'''Important!''' After you close the window you will not be able to check Token again. For security, the Token is not saved to the system. If you lose your token or delete an existing one, you will have to create a new one.
Line 32: Line 31:


Here is information on the latest changes to the FOTA Web API
Here is information on the latest changes to the FOTA Web API
===2025-04-22===
Updated the API user interface design and revised the description on the WIKI page.
===2024-06-28===
Endpoint to select several IMEI's was added. Request example: GET /devices?imei=123,123,123,123,123,....&per_page=100&page=23


===2024-03-01===
===2024-03-01===