Get All Trips
GET/trips
Returns a paginated list of all trips associated with your account that overlap the specified time range.
A trip is included if it was active at any point within the requested window —
this means a trip that started before start_timestamp but ended within
the range will be included, and a trip that started within the range but
ended after end_timestamp will also be included. As a result, returned trips
may have start_timestamp or end_timestamp values that fall outside the
requested range and may span across different calendar dates.
The lookup window is limited to a maximum of 31 days between
start_timestamp and end_timestamp.
Note: If you are computing total distance travelled for a specific day by summing
trip_distance, the result may be inaccurate. Trips that started beforestart_timestampor ended afterend_timestampare included in full, so their distance will be over- or under-counted relative to the requested window. For accurate daily distance figures, useGET /vehicles/{registration}/odometerinstead.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 500
Successful operation
Unauthorized access. Authentication is required.
Access is forbidden. The user does not have permission to access this resource.
The requested resource was not found.
Validation failed for the input parameters.
Internal server error.