Skip to content

SensorHub API V2



API Key

An API key is required to be sent as part of every request to the SensorHub API, in the form of an X-Api-Key request header.

Example of a request using the cURL tool

curl -X 'GET' \
  'https://api.parametric-analytics.com/2/devices/tcr/123456123456/data' \
  -H 'accept: application/json' \
  -H 'X-API-KEY: MY_API_KEY'


Testing

Postman is a great tool to test API endpoints during the development phase.

With API key auth, you send a key-value pair to the API in the request headers.

In the request Authorization tab, select API Key from the Type list. Enter X-API-KEY as your key name and the API Key you received from us as the value.

Then enter the serial number of the device as part of the URL.

Image title