TUMR DOCS
API Reference
GPS Telemetry Ingestion
Push rider location metrics in real-time to compute dynamic route ETAs.
POST
Ingest a rider GPS sample (latitude, longitude, accuracy, battery level) for an active in-transit dispatch. Also updates the rider's last-known position.
Authentication: Rider JWT
Request Body Fields
| Field | Type | Requirement | Description |
|---|---|---|---|
| shipment | string (uuid) | Optional | Active Shipment UUID this sample belongs to. |
| latitude | decimal | Required | Current GPS latitude (-90 to +90). |
| longitude | decimal | Required | Current GPS longitude (-180 to +180). |
| accuracy | decimal | Optional | Reported GPS accuracy in meters. |
| battery_level | integer | Optional | Device battery percentage. |
Request ExampleHTTPS Live Endpoint
Response Payload
201 Created
application/json