cURL
curl --request GET \ --url https://api.pathstack.io/milestone/{milestone_id}/update \ --header 'Authorization: Bearer <token>'
{ "data": { "milestone_id": "<string>", "connection_id": "<string>", "device_id": "<string>", "system_device_id": "<string>", "current_position": { "timestamp": "<string>", "longitude": 123, "latitude": 123, "heading": 123, "speed": { "speed_kph": 123 }, "driver_id": { "format": "text", "value": "<string>" } }, "eta": "<string>", "distance_to_destination_km": 123, "last_updated_at": "2023-11-07T05:31:56Z" } }
Returns a milestone update
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"2024-03-26"
ID of the Milestone to be returned
Successful Response
The response is of type object.
object