Skip to content

FTL API (1.0.0)

API documentation for FTL Operations

Languages
Servers
Sandbox Server
https://apitest.drayeasy.com
Production Server
https://api.drayeasy.com
Operations

Request

This endpoint allows you to create a new FTL quote.

Security
bearerAuth
Bodyapplication/jsonrequired
pickup_zipcodestring<= 10 charactersrequired
Example: "90047"
pickup_citystring<= 255 charactersrequired
Example: "Los Angeles"
pickup_statestring<= 2 charactersrequired
Example: "CA"
destination_zipcodestring<= 10 charactersrequired
Example: "SAN BERNARDINO"
destination_citystring<= 255 charactersrequired
Example: "Los Angeles"
destination_statestring<= 2 charactersrequired
Example: "CA"
pickup_datestring(date)required
Example: "2024-12-31"
trailer_typestring

The type of trailer used for the shipment. Must be validated together with trailer_size. Allowed combinations: VAN-53, REEFER-53, FLATBED-48.

Enum"VAN""REEFER""FLATBED"
Example: "VAN"
trailer_sizeinteger

The size of the trailer used for the shipment. Must be validated together with trailer_type. Allowed combinations: VAN-53, REEFER-53, FLATBED-48.

Enum5348
Example: 53
cargo_valueinteger or null[ 2500 .. 1000000 ]

The cargo value will be used in the calculation of the insurance premium.

Example: 200000
curl -i -X POST \
  https://apitest.drayeasy.com/api/v2/ftl/quotes \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "pickup_zipcode": "90047",
    "pickup_city": "Los Angeles",
    "pickup_state": "CA",
    "destination_zipcode": "SAN BERNARDINO",
    "destination_city": "Los Angeles",
    "destination_state": "CA",
    "pickup_date": "2024-12-31",
    "trailer_type": "VAN",
    "trailer_size": 53,
    "cargo_value": 200000
  }'

Responses

Quote created successfully

Bodyapplication/json
dataobject(FTLQuoteCreateResponse)

Response body for create quote endpoint

Response
application/json
{ "data": { "rate": {}, "premium": 6, "quote_number": "FQ260127252631" } }
Operations
Operations
Operations