Documentation

Welcome to Spare Docs! Here you can learn more about how to integrate the Spare Open API and explore some of the Spare Platform features.

Quick Links:

Spare Platform →

Api Reference →

Spare Driver App →


Getting Started

Before getting started with your Driver API integration, please review our getting start guide:

Getting started with Spare Open API

Ensuring Driver, Vehicle & Duty objects exist within Spare

One of the first steps will be to ensure driver & duty objects exist within Spare. There are several ways to do that. You can create these objects through the Spare Admin Portal manually or you can also create them through our API.

Creating a driver can be done using [POST /drivers](<https://developers.sparelabs.com/docs/public/Open.oas.json/paths/~1drivers/post>) endpoint.

Creating a vehicle can be done using [POST /vehicles](<https://developers.sparelabs.com/docs/public/Open.oas.json/paths/~1vehicles/post>) endpoint

Creating a fleet can be done using [POST /fleets](<https://developers.sparelabs.com/docs/public/1fec75765971d-create-a-fleet>) endpoint

Creating a duty can be done using [POST /duties](<https://developers.sparelabs.com/docs/public/Open.oas.json/paths/~1duties/post>) endpoint.