Skip to main content
POST
Search trips
This endpoint provides detailed information about each trip that matches the search criteria, enabling efficient management and retrieval of trip records.

Request Body Parameters

The following parameters are required in the request body:

Example CURL request

Use the Current API version The load number and make sure to replace the Authorization header value associated with your actual Bearer token for the request:

Response Body Parameters

The following parameters are required in the request body:

⚠️ Important Note on Rates and RatesV2 Fields

Both the legacy Rates[] and the new RatesV2[] fields are currently returned in the Trips API response under Driver1, Driver2, and OwnerOperator.
  • The legacy Rates[] field remains available for backward compatibility but is no longer populated for new trips created after migration to Driver Settlement.
  • For trips that existed prior to migration, Rates[] may still contain historical data; however, it can be out of sync with RatesV2[] if additional rate changes were made after migration.
  • Integrations that continue to read data from Rates[] will receive empty or outdated arrays.
  • To ensure accurate and complete pay information, integrations should rely solely on RatesV2[] going forward.
Each rate type (e.g., TripValuePercentageRate, PerTripRate, MinimumPayRate, etc.) within RatesV2[] is provided as a structured object with detailed breakdowns via optional LineItems[].

Versioning

The version parameter in the URL path specifies which version of the API you are using. Including the version number ensures that your application interacts with the correct version of the API, providing stability and compatibility as the API evolves. For more information on how versioning works and how to include it in your requests, please refer to the Versioning page.

Example Response

On the right side, you can see examples of different error codes by clicking “Example” and selecting the response code.

Rate Limits

All endpoints are subject to rate limits to protect the API from traffic spikes. For detailed information on rate limits, please refer to the Rate Limits section.

Authorizations

Authorization
string
header
required

OAuth 2.0 client-credentials access token. Obtain one from https://auth.alvys.com/oauth/token (grant_type=client_credentials, audience=https://api.alvys.com/public/), then paste it here. The playground sends it as Authorization: Bearer <token>.

Path Parameters

version
string
default:1.0
required

API version (e.g., 1.0)

Example:

"1.0"

Body

Page
integer<int32>
required
PageSize
integer<int32>
required
IncludeDeleted
boolean
required
Status
string[] | null
LoadNumbers
string[] | null
TripNumbers
string[] | null
PickupDateRange
object | null
DeliveryDateRange
object | null
UpdatedAtRange
object | null
UpdatedBy
string | null
DriverId
string | null
TrailerId
string | null
TruckId
string | null

Response

OK

Page
integer<int32>
required
PageSize
integer<int32>
required
Total
integer<int64>
required
Items
object[]
required
Facets
object | null