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.

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.