Skip to main content

Overview

The Crestline API is based on REST. The API accepts and returns application/json data. For file loads, the API accepts multipart/form-data.

API Domains

  • Stage: https://api-stage.crestlineautotransport.com
  • Production: https://api.crestlineautotransport.com

Object IDs

We use UUIDs to identify objects rather than primary keys when storing data in the database. This applies to all objects within the API: shipments, vehicles, photos, documents, etc.

Example: f210b4f3-c367-466b-81a6-35e0aedbf442

warning

The UUID is required if you want to make updates to any objects through the API, otherwise, a new object will be created.

Handling Dates

Dates are returned in ISO 8601 format to allow for universal compatability. The dates are stored using second precision and are stored as UTC dates (i.e. offset +0000).

Example: 2024-08-10T08:00:00+0000

Sending Dates

When sending dates to the API, please include the timezone offset so the API converts the date to UTC properly. Otherwise, the date will be treated as UTC which may result in unexpected behavior when returning the date from the API.

Receiving Dates

When dates are returned by the API, they are returned as a UTC date (i.e. offset +0000)

info

We can set your API integration up to default to a specific timezone when returning dates, so the dates are returned in your desired timezone offset rather than as a UTC date