Getting started

Quick start

The TRAVIS API makes it easy to integrate road services into your systems. This guide walks you through the essentials to set up your integration and start building with confidence.


Request API credentials

To access the TRAVIS API you first need credentials. These identify your system and ensure only authorized applications can connect to the TRAVIS network. If you only need to retrieve information, for example from the Location API, your credentials will consist of a client ID and client secret. If you also want to create bookings, manage your account, or retrieve financial information, you will additionally receive a username and password to request access tokens.

  • Send an email to integrations@yourtravis.com
  • Include the following details in your request:
    • Your name
    • Your organization / company
    • Which APIs you would like to access

You will receive your API key or further access instructions via the shared e-mail.


Authentication

The TRAVIS API uses OAuth 2.0 access tokens to authenticate requests. Before calling any API endpoint, you must first obtain an access token from the TRAVIS Authentication Server. Depending on the credentials you received, this is done using either: A username and password (most customers), or Client credentials (service accounts and partner integrations) Once obtained, include the access token in the Authorization header of every request:

  • A username and password (most customers)
  • Client credentials (service accounts and partner integrations)

Once obtained, include the access token in the Authorization header of every request:

    Authorization: Bearer <your_access_token>
    Copy
  
Tokens are valid for a limited time and must be refreshed before expiration to maintain uninterrupted access. For full details, including all supported authentication flows and parameters, see Authentication.


Testing / Sandbox

The TRAVIS API provides a sandbox environment for safe development and testing. It behaves like the production API but uses mock data for locations, vehicles, and bookings. This allows you to validate authentication, booking flows, and error handling without impacting live operations.

Use the sandbox to simulate end-to-end scenarios — from searching for locations to creating and managing bookings — and verify that your integration works as expected before switching to production.

Sandbox base URL

    https://api.travisroadservices.com/sandbox
    Copy