IoTee Exchange API
IoT device management API with REST endpoints and WebSocket realtime subscriptions. Connects to MQTT brokers for device communication.Authentication
API key authentication and access levels
Devices
Manage IoT devices
Telemetry
GPS and battery data
WebSocket
Real-time device updates
Base URL
Quick Reference
| Method | Endpoint | Auth | Description |
|---|---|---|---|
| GET | /health | - | Health check |
| GET | /stats | 🔐 | System statistics |
| GET | /devices | ✓ | List devices |
| GET | /devices/:id | ✓ | Get device |
| GET | /devices/:id/gps | ✓ | GPS telemetry |
| GET | /devices/:id/battery | ✓ | Battery telemetry |
| POST | /devices/:id/commands | ✓ | Send command |
| GET | /trips | ✓ | Get trips |
| GET | /trips/active | ✓ | Get active trips |
| GET | /trips/:hardwareId/active | ✓ | Get active trip by device |
| GET | /users | 🔐 | List users |
| WS | /realtime | ✓ | WebSocket |
- No auth | ✓ User | 🔐 Admin