BTS LogoBox Truck Sprinter

Developer Documentation

Everything you need to integrate route optimization into your applications. Comprehensive APIs, SDKs, and examples to get you started quickly.

Quick Start Guide

Get up and running in minutes with our step-by-step guide

1. Get API Keys

Sign up for a free account and get your API keys from the dashboard

2. Choose Your SDK

Download the SDK for your preferred programming language

3. Make Your First Call

Use our examples to create your first optimized route

Documentation Categories

Organized documentation to help you find what you need quickly

Authentication
Learn how to authenticate your API requests
Route Optimization
Core route optimization algorithms and features
Fleet Management
Manage vehicles, drivers, and assignments
Webhooks
Real-time notifications and event handling

API Examples

Real-world examples to help you integrate quickly

Route Optimization
Create and optimize delivery routes
POST/api/v1/routes/optimize
curl -X POST "https://api.boxtrucksprinter.com/v1/routes/optimize" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "stops": [
      {"address": "123 Main St, City, ST", "notes": "Pickup"},
      {"address": "456 Oak Ave, City, ST", "notes": "Delivery"}
    ],
    "vehicleType": "box-truck",
    "constraints": {
      "maxStops": 10,
      "timeWindow": "09:00-17:00"
    }
  }'
Vehicle Management
Add and manage fleet vehicles
POST/api/v1/vehicles
curl -X POST "https://api.boxtrucksprinter.com/v1/vehicles" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Box Truck #1",
    "type": "box-truck",
    "capacity": 10000,
    "fuelType": "diesel",
    "constraints": {
      "maxHeight": 12,
      "maxWeight": 10000,
      "restrictedAreas": ["downtown", "residential"]
    }
  }'
Driver Assignment
Assign routes to drivers
POST/api/v1/drivers/assign
curl -X POST "https://api.boxtrucksprinter.com/v1/drivers/assign" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "routeId": "route_123",
    "driverId": "driver_456",
    "vehicleId": "vehicle_789",
    "startTime": "2024-01-15T09:00:00Z"
  }'

SDK Downloads

Official SDKs and libraries for popular programming languages

JavaScript

Official SDK for JavaScript and Node.js applications

Python

Python SDK for data science and automation

REST API

Direct REST API access for custom integrations

Community & Support

Connect with other developers and get help when you need it

GitHub

Open source examples and SDKs

Discord

Developer community chat

Stack Overflow

Q&A and troubleshooting

Blog

Tutorials and best practices

Ready to Build?

Start integrating route optimization into your applications today