cURL
curl --request GET \ --url https://api.pathstack.io/milestone/{milestone_id} \ --header 'Authorization: Bearer <token>'
{ "data": { "device_id": "<string>", "status": "trip_not_started", "start_point": { "latitude": 0, "longitude": 0 }, "end_point": { "latitude": 0, "longitude": 0 }, "start_time": "<string>", "end_time": "<string>", "webhook_url": "<string>", "id": "<string>", "tenant_id": "<string>", "webhook_error_count": 0, "last_webhook_error": "<string>", "last_webhook_error_at": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "webhook_enabled": true } }
Returns a milestone
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"2024-03-27"
ID of the Milestone to be returned
Successful Response
The response is of type object.
object