4fleet API Documentation
Build integrations with 4fleet using our RESTful API. Manage bookings, fleet, drivers, and invoicing from any platform.
Getting Started
Authentication
Generate an API key from your 4fleet dashboard under Settings → API Keys, then send it in the X-API-Key header on every request. API access is available on the Business plan.
Base URL
All API endpoints are served from a single base URL. Responses are JSON-formatted.
https://api.4fleet.io/apiRate Limits
API calls are rate-limited per API key at 1,000 requests/minute. Rate limit headers are included in every response so you can track your usage.
API Endpoints
Bookings API
AvailableCreate, update, and manage bookings programmatically. Supports single trips, recurring schedules, and multi-leg journeys.
Fleet API
AvailableAccess vehicle data, availability, maintenance schedules, and utilisation metrics for your entire fleet.
Drivers API
AvailableManage driver profiles, compliance documents, schedules, and performance data.
Enquiries API
AvailableReceive and process booking enquiries from your website, email, or third-party platforms.
Invoicing API
AvailableGenerate invoices, track payments, manage expenses, and access financial reporting data.
Partners API
Coming SoonDispatch jobs to partner operators, receive inbound work, and manage partner settlements.
Webhooks
AvailableReceive real-time notifications for booking updates, payment events, driver status changes, and more.
Quick Example
Create a booking with a single API call.
Request
curl -X POST https://api.4fleet.io/api/bookings \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pickupAddress": "London Heathrow T5",
"dropoffAddress": "The Savoy Hotel",
"pickupDate": "2026-03-15",
"pickupTime": "14:00",
"passengers": 2,
"vehicleClass": "sedan",
"notes": "Meet & greet at arrivals"
}'Response
{
"id": "bk_a1b2c3d4e5",
"status": "confirmed",
"pickupAddress": "London Heathrow T5",
"dropoffAddress": "The Savoy Hotel",
"pickupDate": "2026-03-15",
"pickupTime": "14:00",
"passengers": 2,
"vehicleClass": "sedan",
"estimatedPrice": 14500,
"currency": "GBP",
"trackingUrl": "https://4fleet.io/track/abc123"
}Ready to Integrate?
Get started with your API key today. Our team is available to help with custom integrations and enterprise requirements.
