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>" } }
This endpoint returns an Event by ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"2024-03-27"
Event ID of the Event to be returned
Successful Response
The response is of type object.
object