Dispatch APISoon
Every ride you dispatch, in the driver's road sheet.
The Dispatch API records each completed ride in the driver's Tomcabs shift. The driver keeps a complete road sheet and accounts without typing anything twice.
One call per ride
Send the ride when it ends. Tomcabs records it in the shift it started in and answers where it landed.
| ID | Status | Driver | Taxi | Start time | End time | Start location | End location | Total |
|---|---|---|---|---|---|---|---|---|
| #R-11416 | Completed | ABAdam Benmoud | TX-318 Tesla Model Y | 14:27 | 15:05 | Uccle | Louise | €74.54 |
| #R-11415 | Completed | ABAdam Benmoud | TX-318 Tesla Model Y | 13:18 | 13:45 | Etterbeek | Uccle | €54.8212 |
| #R-11414 | Completed | ABAdam Benmoud | TX-318 Tesla Model Y | 12:21 | 12:51 | Anderlecht | Etterbeek | €75.1072 |
| #R-11413 | Completed | ABAdam Benmoud | TX-318 Tesla Model Y | 11:08 | 11:46 | Brussels Airport | Anderlecht | €70.99119999999999 |
| #R-11412 | Completed | ABAdam Benmoud | TX-318 Tesla Model Y | 10:14 | 10:37 | Anderlecht | Brussels Airport | €40.63 |
| #R-11411 | Completed | ABAdam Benmoud | TX-318 Tesla Model Y | 09:13 | 09:42 | Schaerbeek | Anderlecht | €66.54560000000001 |
| #R-11410 | Completed | ABAdam Benmoud | TX-318 Tesla Model Y | 08:10 | 08:30 | Woluwe | Schaerbeek | €52.5574 |
| #R-11405 | Completed | MLMarie Lambert | TX-204 Toyota Prius | 13:01 | 13:22 | Midi Station | Uccle | €31.688799999999997 |
| #R-11404 | Completed | MLMarie Lambert | TX-204 Toyota Prius | 12:00 | 12:23 | Ixelles | Midi Station | €57.5358 |
Completed ride
PUT /api/v1/rides/DSP-2026-000123Authorization: Bearer tca_…{ "started_at": "2026-11-24T14:05:00+01:00", "ended_at": "2026-11-24T14:23:00+01:00", "pickup": { "address": "Gare du Midi" }, "dropoff": { "address": "Place Flagey" }, "distance_m": 6400, "fare": 23.50, "tip": 2.00, "payment_method": "cash"}What the ride becomes in Tomcabs
The same ride as one the driver records themselves, everywhere it counts.
Road sheet
Times, pickup, drop-off and the meter reading, continued from the shift's last ride.
Shift totals and accounts
Fare, tip and how the customer paid. Your platform is the source, never a payment method, and takes no commission through Tomcabs.
Performance
The ride counts in the driver's and the fleet's figures, like any other ride.
Nothing lost
A ride outside an open shift waits for the driver or a manager to place it, instead of being refused.
The driver decides
A dispatch platform only ever acts through the driver's own consent.
The driver connects
They sign in to Tomcabs, choose their fleet and allow your platform. You never name a driver.
One permission
Your token writes and reads back the rides you sent. Nothing else of the driver's or the fleet's.
Disconnect any time
The driver or a manager ends the connection in Tomcabs. Leaving the fleet ends it too.
Closed shifts stay closed
Once a shift is completed, its rides can't change through the API.
Built on what you already know
Standard OAuth, one idempotent call, a machine-readable spec.
- Authorization
- OAuth 2.0 authorization code with PKCE (S256)
- Tokens
- 1 hour access, single-use refresh tokens with reuse detection
- Rides
- PUT /api/v1/rides/{your id}, safe to retry
- Errors
- JSON, with each invalid field and why
- Spec
- OpenAPI 3.1, tag Dispatch API
Connect your dispatch platform
The Dispatch API opens soon. Tell us about your platform and we'll register it early, with a test fleet to build against.