cURL
curl --request GET \ --url https://api.pathstack.io/event/{event_id} \ --header 'Authorization: Bearer <token>'
{ "data": { "event_key": "ignition_status", "time": "2023-11-07T05:31:56Z", "raw_data": {}, "value": { "harsh_braking": true }, "position": { "latitude": 0, "longitude": 0 }, "id": "<string>", "device_id": "<string>", "trip_id": "<string>" } }
This endpoint returns an Event by ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Event ID of the Event to be returned
Successful Response
Successful response payload
Show child attributes
ignition_status
idling
odometer
harsh_braking
harsh_acceleration
hard_cornering
engine_speed
accident
total_fuel
over_speeding
power_take_off_engaged
auxiliary_equipment_operation
-90 <= x <= 90
-180 <= x <= 180