API Documentation

IOGRU API Documentation

Access real-time sensor data, control equipment, and build custom integrations with the IOGRU REST API.

API Overview

The IOGRU API provides programmatic access to all platform features including:

  • • Real-time sensor data (temperature, humidity, VPD, CO2, EC, pH)
  • • Equipment control (HVAC, lighting, irrigation)
  • • Historical data and analytics
  • • Alert and notification management
  • • Multi-facility management

Authentication

// Request
POST /api/auth/token
{
  "api_key": "your_api_key",
  "api_secret": "your_api_secret"
}
// Response
{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "expires_in": 3600
}

Example: Get Sensor Data

// Request
GET /api/v1/sensors/zone/A/current
Authorization: Bearer <token>
// Response
{
  "zone_id": "A",
  "timestamp": "2024-01-15T14:30:00Z",
  "temperature_f": 76.2,
  "humidity_rh": 58.5,
  "vpd_kpa": 1.21,
  "co2_ppm": 1200
}

Full API Documentation

Complete API documentation with interactive examples is available to IOGRU customers. Contact us to get API access enabled for your account.

Request API Access