Ingest API

The Ingest API receives tracker payloads in the selected database scope.

Path Structure

/[SCOPE]/ingest/[INGEST_TYPE]/[DEVICE_KEY]

POST /[SCOPE]/ingest/iris/[DEVICE_KEY]

Receives an IRIS route payload. Requires only device_token in the payload.

Required Top-Level Parameters
Required Trackpoint Fields
Optional Trackpoint Fields
Example Request
{
  "device_token": "1234567890123456",
  "route": [
    {
      "id": "tp-1",
      "ts": 1779028800000,
      "lat": 50.123456,
      "lon": 8.123456,
      "speed": 42,
      "bearing": 180,
      "satellites": 9,
      "gsmLevel": 4,
      "batteryPerc": 76,
      "charging": true
    }
  ]
}
Response
{
  "status": {
    "code": "200",
    "apiTimeConsumed": "0.018s"
  },
  "data": {
    "status": "ok",
    "written": 1,
    "ignored": 0,
    "failed": 0,
    "failed_points": []
  }
}

Errors

Errors are returned as JSON responses with an ErrorMessage field.