Request example This endpoint accepts query parameters. All filters are optional. If no filters are provided, trips are returned for the authenticated account using the default pagination.
curl --location 'https://hub-sandbox-api.truxx.ae/api/Trips?mobileNumber=541112233&pageNumber=1&pageSize=20' \
--header 'Content-Type: application/json' \
--header 'x-api-key: truxx_sk_test_25d003e5789c483ab47793ad8cc3704f'Copy request
Query parameters tripId Optional. Retrieve a specific trip by its identifier.
mobileNumber Optional. Filter trips by customer mobile number.
vehicleTypeId Optional. Filter by the selected vehicle type.
fromDate Optional. Filter trips starting from this date.
toDate Optional. Filter trips up to this date.
pageNumber Optional. Page index. Default is 1.
pageSize Optional. Number of trips per page. Default is 100.
Response example A successful response returns a paginated list of trips and includes pagination metadata.
{
"success": true,
"code": 200,
"message": "OK",
"data": {
"trips": [
{
"TripID": 23220,
"CustomerName": "John Doe",
"CustomerPhoneCode": "971",
"CustomerMobileNumber": "541112233",
"DriverName": null,
"VehicleTypeID": 1,
"VehicleType": "Pickup Truck",
"fromLat": 23.004475,
"fromLng": 53.350864,
"fromAddress": "2932+Q8 Arada - Abu Dhabi - United Arab Emirates",
"fromAreaName": "Arada",
"toAddress": "X49P+FW Ras Al-Khaimah - Ras Al Khaimah - United Arab Emirates",
"toAreaName": "Ras Al-Khaimah",
"toLat": 25.968739,
"toLng": 56.137327,
"StatusCode": 4,
"StatusName": "Scheduled trip",
"TripDate": "2026-03-22T22:48:00",
"TripFare": 1402.7,
"Invoice": "https://public.truxx.ae/Home?pdf=invoice&id=23220&env=test&type=client",
"Receipt": "https://public.truxx.ae/Home?pdf=receipt&id=23220&env=test&type=client",
"CreditNote": ""
},
{
"TripID": 23217,
"CustomerName": "John Doe",
"CustomerPhoneCode": "971",
"CustomerMobileNumber": "541112233",
"DriverName": "Sherbat Rustam",
"VehicleTypeID": 1,
"VehicleType": "Pickup Truck",
"StatusCode": -2,
"StatusName": "Cancelled",
"TripDate": "2026-03-16T22:48:00",
"TripFare": 1403.5,
"Invoice": "https://public.truxx.ae/Home?pdf=invoice&id=23217&env=test&type=client",
"Receipt": "https://public.truxx.ae/Home?pdf=receipt&id=23217&env=test&type=client",
"CreditNote": "https://public.truxx.ae/Home?pdf=credit-note&id=23217&env=test&type=client"
}
],
"pageNumber": 1,
"pageSize": 20,
"totalPages": 2,
"totalCount": 24
}
}Copy response