REST API
On this page
The REST API connection allows DataTalk to fetch data from any HTTP/HTTPS endpoint and map the response values to tags in the Tag Database. Use it for cloud services, web APIs, or any device that exposes data over HTTP.
Setup workflow
Step 1 — Configure the API connection
Specify the API URL (host) and set up the required authentication method. If the API server uses TLS, upload the necessary certificates to ensure a secure connection.
Step 2 — Query the API
Once the connection is configured, DataTalk queries the provided URL and retrieves all available data from the endpoint.
Step 3 — Select and import data
Review the retrieved data and select the specific fields you want to bring into the project. The selected items are automatically imported into the Tag Database.
Connection parameters
| Parameter | Description |
|---|---|
| URL | Full URL of the endpoint to poll |
| Method | HTTP method — typically GET |
| Polling interval | How often to poll the endpoint (ms) |
| Headers | Custom HTTP headers — e.g. Authorization: Bearer <token> |
| Authentication | Basic auth (username/password) or token-based |
| Certificate | Client certificate for mutual TLS authentication |