API Documentation

Integrate SafeGuard intelligence directly into your own security orchestration tools with our RESTful API and WebSocket streams.

Authentication

All API requests must include your Bearer token in the header.

Authorization: Bearer YOUR_API_KEY

List All Nodes

GET /v4/nodes

{
  "status": "success",
  "data": [
    {
      "id": "node_7729",
      "status": "online",
      "battery": 84,
      "location": { "lat": 51.5074, "lon": -0.1278 }
    }
  ]
}

Trigger Remote Action

POST /v4/nodes/{id}/command

{
  "action": "camera_capture",
  "params": {
    "camera": "front",
    "quality": "high"
  }
}