1. Home
  2. Docs
  3. API
  4. Supported API
  5. Use Cases API

Use Cases API

Main API Endpoints

The GIoT API provides a flexible and secure way to interact with connected devices, configure settings, and retrieve real-time data. Below are the primary API endpoints:

Authentication & Security

  • Endpoint: /api/auth/login

  • Method: POST

  • Description: Authenticate users via OAuth2 to generate access tokens for secure API communication.

Device Commands & Configuration

  • Endpoint: /api/device/{device_id}/command

  • Method: POST

  • Description: Send commands to a specific IoT device, such as changing reporting intervals or triggering remote actions.

Sensor Data Retrieval

  • Endpoint: /api/device/{device_id}/data

  • Method: GET

  • Description: Fetch real-time sensor data, including temperature, movement, and battery status.

Geofence & Alarm Rules

  • Endpoint: /api/geofence/{geofence_id}/update

  • Method: POST

  • Description: Update geofence parameters and set rules for location-based alerts.

How can we help?