FleetbaseFleetbase
DevelopersAPI & Integrations

Build Anything on Top of Fleetbase

A complete REST API, real-time SocketCluster channels, and event-driven webhooks give you everything you need to integrate Fleetbase with your existing systems or build entirely new logistics-powered applications.

Fleetbase Developer Console — API key management and integration tools

REST

Full REST API

WS

SocketCluster channels

50+

API endpoints

24+

Native integrations

REST API

A complete REST API for every logistics operation

The Fleetbase REST API gives you programmatic access to every resource in the platform. Create orders, manage drivers, track shipments, geocode addresses, and automate your entire logistics workflow through a clean, consistent JSON API.

  • Consistent JSON:API response format across all endpoints
  • Bearer token authentication with per-key permissions
  • Full CRUD operations on all core resources
  • Filtering, sorting, and pagination on list endpoints
  • Includes relationships and nested resource expansion
  • Comprehensive Postman collection for rapid testing
REST API — Create an Order
1// POST /v1/orders
2// Authorization: Bearer flb_live_xxxx
3
4{
5  "payload": {
6    "pickup": "place_abc123",
7    "dropoff": "place_xyz789",
8    "entities": [{ "name": "Package", "weight": 2.5 }]
9  },
10  "type": "delivery",
11  "scheduled_at": "2026-04-01T09:00:00Z"
12}
13
14// Response: 201 Created
15{
16  "data": {
17    "id": "order_xxx",
18    "status": "created",
19    "tracking_number": "FB-000001"
20  }
21}

Core API resources

Every major entity in the Fleetbase platform is accessible via the API with full CRUD support and consistent response schemas.

Orders

Create, update, dispatch, and track orders through their full lifecycle.

12 endpoints

Drivers

Manage driver profiles, assignments, location, and status.

8 endpoints

Places

Geocode addresses, manage saved locations, and resolve coordinates.

6 endpoints

Contacts

Create and manage customer and contact records linked to orders.

5 endpoints

Vehicles

Register and manage your vehicle fleet with full metadata support.

6 endpoints

Fleets

Organise drivers and vehicles into logical fleet groups.

5 endpoints

Routes

Optimise multi-stop routes and calculate ETAs programmatically.

4 endpoints

Tracking

Access real-time and historical location data for any tracked entity.

4 endpoints
Fleetbase Developer Console — listening on a custom SocketCluster channel
SocketCluster Channels

Real-time data without polling

Fleetbase's WebSocket layer is powered by SocketCluster. Subscribe to channels and receive live updates the instant something changes — driver location, order status, fleet events, and more. Connect using the official socketcluster-client npm package.

  • Order channelsLive order status, driver assignment, and ETA updates
  • Driver channelsReal-time GPS location, speed, and status broadcasts
  • Fleet channelsFleet-wide events and aggregate status updates
  • Custom channelsEmit and subscribe to custom events from your extensions
SocketCluster — Live Driver Location
1// Subscribe to real-time driver location using socketcluster-client
2import { create } from 'socketcluster-client';
3
4const socket = create({
5  hostname: 'socket.fleetbase.io',
6  port: 443,
7  secure: true,
8});
9
10(async () => {
11  const channel = socket.subscribe('driver.driver_xxx');
12
13  for await (const data of channel) {
14    updateMapMarker(data.lat, data.lng);
15  }
16})();
Webhooks

Event-driven integration with webhooks

Configure webhooks to push real-time notifications to your systems whenever something happens in Fleetbase. No polling required — Fleetbase calls you. Subscribe to specific events or receive everything, with automatic retries on failure.

order.created
order.dispatched
order.completed
order.cancelled
driver.assigned
driver.location_updated
payment.received
entity.updated
  • Configure multiple webhook endpoints per organisation
  • Subscribe to specific events or receive all events
  • Automatic retry with exponential backoff on failure
  • Full delivery log with request and response inspection
  • HMAC signature verification for security
Fleetbase Developer Console — webhook delivery attempts with payload and response inspector

Native integrations

Fleetbase connects natively with the tools your business already uses — from mapping and payments to ERP and e-commerce platforms.

Mapping & Routing

  • Google Maps
  • HERE Maps
  • Mapbox
  • OpenStreetMap

Payments

  • Stripe
  • PayPal
  • Braintree
  • Square

Notifications

  • Twilio SMS
  • SendGrid
  • Firebase FCM
  • WhatsApp

Logistics

  • FedEx
  • UPS
  • DHL
  • EasyPost

ERP & CRM

  • Salesforce
  • HubSpot
  • SAP
  • NetSuite

E-Commerce

  • Shopify
  • WooCommerce
  • Magento
  • BigCommerce

Plus hundreds more available through the Extensions Marketplace

Fleetbase Storefront — product catalogue and store management surface for the Storefront API
Storefront API

A dedicated API for commerce and delivery

The Storefront extension exposes its own comprehensive API for building customer-facing commerce experiences. Manage stores, products, categories, carts, orders, and customers — with the same authentication and developer experience as the core API.

  • Store and network management endpoints
  • Product catalogue with variants and modifiers
  • Cart, checkout, and order management
  • Customer accounts and address book
  • Real-time order tracking for customers
  • Fully documented in the Storefront API reference

Frequently asked questions

Start building with the Fleetbase API

Get your API key, explore the reference documentation, and start integrating Fleetbase into your systems today.

Free API access on all plans · REST, SocketCluster & Webhooks

API & Integrations — REST, WebSocket & Webhooks | Fleetbase | Fleetbase