Quick developer guide
From sensor to cloud in four steps. All endpoints hang off of https://iot-platform.nordicbyte.co.uk/api/v1.
1Authenticate
Sign up and get a JWT token with your email and password. Include it as Authorization: Bearer <token> in private calls.
curl -X POST "https://iot-platform.nordicbyte.co.uk/api/v1/auth/login" \
-H "Content-Type: application/json" \
-d '{"email":"tu@email.com","password":"tu-password"}'
# -> { "data": { "accessToken": "eyJ..." } }2Create a device
From the panel (log in and use the «Connect device» wizard) you get a deviceId public one to ingest data with.
3Send telemetry
Publish data points with a POST. Knowing the deviceId is enough to
ingest (device-token-based design); replace{DEVICE_ID}.
curl -X POST "https://iot-platform.nordicbyte.co.uk/api/v1/devices/{DEVICE_ID}/data" \
-H "Content-Type: application/json" \
-H "X-Device-Token: {DEVICE_KEY}" \
-d '{"variable":"temperature","value":23.5,"unit":"°C"}'4Query and export
Read the latest readings:
curl "https://iot-platform.nordicbyte.co.uk/api/v1/devices/{DEVICE_ID}/data?size=20" \
-H "Authorization: Bearer $TOKEN"Or export the entire history to CSV:
curl "https://iot-platform.nordicbyte.co.uk/api/v1/devices/{DEVICE_ID}/data/export" \
-H "Authorization: Bearer $TOKEN" -o telemetria.csvReady for more?
Explore the ~200 endpoints in the interactive reference.