#Getting Started
Expand the possibilities of your device by using a set of programmatic API endpoints to retrieve or change data. It provides the ability to configure your Teltonika Networks device without using the default Web user interface.
This webpage will provide you with all the necessary resources, workflow specific tutorials, and available API endpoints for you to integrate and go beyond the possibilities of your device.
Disclaimer
Both documentation and API are still in development and will be updated frequently. If you have any suggestions, or cannot find any viable solutions here - join the Teltonika Networks Crowd Support Community and consider giving us some feedback to help us improve and do better.
#Quick Start
To get started use your favorite HTTP client such as cURL or Postman to make a request to the device.
- Make sure you are connected to the same network as your device.
- Get an authentication token by making a request to the
POST /api/login
endpoint with your device’s credentials. See Authentication.
curl -X POST "http://<DEVICE_IP>/api/login" \
-H "Content-Type: application/json" \
-d '{"username": "<USERNAME>", "password": "<PASSWORD>"}'
Response with a JSON object containing the authentication token:
{
"success": true,
"data": {
"username": "admin",
"token": "3293....9d66",
"expires": 299
}
}
- Use the token from the login response to make requests to API endpoints. For example:
curl -X GET "http://<DEVICE_IP>/api/system/device/status" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <SESSION_TOKEN>"
You should now receive a response with detailed information about your device.
See Tutorials for more information and examples.
#Web API
The Web API is a set of programmatic endpoints that can be used to retrieve data, change or create configurations of various services of your device. The API has many endpoints that will allow you to engage with all the available services in the device without the help of WebUI.
These include, but not limited to:
- Retrieving system status
- Creating new network interfaces
- Configuring VPN services
- Deleting unnecessary configurations
- Updating your device firmware
- Generating certificates
- And many more
#Fundamentals
This section is the starting point for understanding the API. It covers key concepts, authentication procedures, and the basics of making API requests, ensuring you have a solid foundation to interact with your device programmatically.
See Fundamentals
#Tutorials
In this section, you’ll find practical, step-by-step guides and examples of effective use of the API. Whether you’re a beginner or an advanced user, these tutorials provide insights on initial setup, advanced configurations, and integration possibilities to help you make the most of the capabilities of your device.
See Tutorials.
#Products
To learn about the available products and their capabilities, visit the Teltonika Networks website.
#Community
If you have any suggestions, or cannot find any viable solutions in the documentation - join the Teltonika Networks Community and consider giving us some feedback to help us improve and do better.
#Wiki
Want to learn more about Teltonika Networks products? Check out the Teltonika Networks Wiki.