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 for secure access. Each integration must request a temporary access token using client credentials. Tokens are required for every API call and ensure both your data and the TRAVIS network remain protected.

  • Use your client ID and client secret to request an access token from the authentication endpoint.
  • 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.


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