REST
Full REST API
WS
SocketCluster channels
50+
API endpoints
24+
Native integrations
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
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 endpointsDrivers
Manage driver profiles, assignments, location, and status.
8 endpointsPlaces
Geocode addresses, manage saved locations, and resolve coordinates.
6 endpointsContacts
Create and manage customer and contact records linked to orders.
5 endpointsVehicles
Register and manage your vehicle fleet with full metadata support.
6 endpointsFleets
Organise drivers and vehicles into logical fleet groups.
5 endpointsRoutes
Optimise multi-stop routes and calculate ETAs programmatically.
4 endpointsTracking
Access real-time and historical location data for any tracked entity.
4 endpoints
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 channels — Live order status, driver assignment, and ETA updates
- Driver channels — Real-time GPS location, speed, and status broadcasts
- Fleet channels — Fleet-wide events and aggregate status updates
- Custom channels — Emit and subscribe to custom events from your extensions
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})();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.
- 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

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
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

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
