OffRide API
Endpoints and credentials for your account.
Authentication
Server integrations use a scoped bearer key and an explicit partner tenant. Secrets belong on your server and must never be shipped to a browser or driver device.
Authorization: Bearer …Partner credential created from Partner settings.
X-OffRide-Tenant: partner-slugThe tenant boundary for the request.
Available products
9 possible capabilities21 possible capabilitiesYour endpoints
/api/v1/demand/capabilitiesLists the Demand API operations currently implemented.demand
/api/v1/demand/requests/previewValidates and normalizes a request without creating operational state.demand · demand.requests.preview
/api/v1/demand/requestsCreates an idempotent persistent ride request inside the authenticated Demand tenant.demand · demand.requests.write
/api/v1/demand/requestsLists ride requests created by the authenticated Demand tenant.demand · demand.requests.read
/api/v1/demand/requests/{requestId}Returns one ride request, fulfillment state, assignment, offers, and lifecycle for the authenticated Demand tenant.demand · demand.requests.read
/api/v1/demand/requests/{requestId}Updates an unassigned Demand ride request in the authenticated tenant. Pending supply offers are withdrawn so the updated trip can be dispatched safely.demand · demand.requests.write
/api/v1/demand/requests/{requestId}Cancels an unassigned Demand ride request in the authenticated tenant. The ride remains available in history with its lifecycle evidence intact.demand · demand.requests.write
/api/v1/demand/streamStreams tenant-scoped ride state, authorized assigned-driver location, and durable operational notifications.demand · demand.fulfillment.read
/api/v1/demand/notificationsLists durable ride notifications for the authenticated Demand tenant.demand · demand.fulfillment.read
/api/v1/demand/notifications/{notificationId}Marks one tenant-scoped operational notification as read.demand · demand.fulfillment.read
/api/v1/supply/capabilitiesLists the Supply API operations currently implemented.supply
/api/v1/supply/offersLists fleet-addressed offers and direct offers for drivers affiliated with the authenticated fleet.supply · supply.assignments.read
/api/v1/supply/driver/me/locationIdempotently records a versioned location sample for the signed-in driver while they are online.supply · trip.location.write
/api/v1/events/capabilitiesLists event topics and the webhook or WebSocket transports planned for each topic. This discovery operation does not create a subscription.events
/api/v1/supply/organizationReturns the supply organization scoped by the authenticated tenant.supply · supply.organization.read
/api/v1/supply/driversLists active driver relationships in the authenticated fleet, including employee or contractor relationship, exclusivity, compensation basis, and primary fleet vehicle assignment.supply · supply.drivers.read
/api/v1/supply/driversAdds an existing or new OffRide driver to the authenticated fleet with an explicit employee or contractor relationship, exclusivity policy, compensation basis, and optional primary vehicle, without taking ownership of the person's account.supply · supply.drivers.write
/api/v1/supply/drivers/{driverId}Updates fleet-managed driver contact, employee or contractor relationship, exclusivity, hourly or per-ride compensation, and primary vehicle assignment.supply · supply.drivers.write
/api/v1/supply/drivers/{driverId}Ends a driver's relationship with the authenticated fleet while preserving their OffRide identity and other affiliations.supply · supply.drivers.write
/api/v1/supply/drivers/{driverId}/availabilityReturns a fleet driver's effective availability, deterministic precedence, active schedule rules, and persisted audit history.supply · supply.drivers.read
/api/v1/supply/drivers/{driverId}/availabilitySets a fleet driver's immediate baseline supply scope and IANA time zone with an auditable reason.supply · supply.drivers.write
/api/v1/supply/drivers/{driverId}/availability/rulesCreates a one-time or weekly fleet-scoped availability rule with an effective window and audit reason.supply · supply.drivers.write
/api/v1/supply/drivers/{driverId}/availability/rules/{ruleId}Replaces one active schedule rule while retaining the superseded rule and its audit history.supply · supply.drivers.write
/api/v1/supply/drivers/{driverId}/availability/rules/{ruleId}Soft-deletes one active driver availability rule while retaining its persisted audit history.supply · supply.drivers.write
/api/v1/supply/vehiclesLists the authenticated fleet's active, maintenance, and retired vehicles and capacity details.supply · supply.vehicles.read
/api/v1/supply/vehiclesRegisters a vehicle and its service class, capacity, accessibility, and operating state in the authenticated fleet.supply · supply.vehicles.write
/api/v1/supply/vehicles/{vehicleId}Updates one vehicle owned by the authenticated fleet.supply · supply.vehicles.write
/api/v1/supply/vehicles/{vehicleId}Retires a vehicle and clears its active fleet assignments while preserving ride history.supply · supply.vehicles.write
/api/v1/supply/tracking/driversReturns current location and freshness for drivers whose location was shared inside the authenticated fleet workspace. Driver roster access is also required.supply · trip.tracking.read
/api/v1/supply/offers/{offerId}/responseAccepts or rejects an unexpired marketplace offer already bound to one eligible driver and vehicle. The responding actor cannot replace that supply unit.supply · trip.lifecycle.write
/api/v1/supply/rides/{rideId}/assignmentAssigns an eligible driver and vehicle to an internal-fleet ride owned by the active organization. Marketplace rides cannot use this operation.supply · supply.assignments.write
/api/v1/demand/requests/{requestId}/cancellationLists the reasons a demand partner may give for cancelling a ride.demand · demand.requests.write
/api/v1/demand/requests/{requestId}/cancellationCancels a ride with a stated reason, including one already assigned. The driver is told and released, and the reason decides compensation.demand · demand.requests.write
/api/v1/fleet/capabilitiesCompatibility namespace retained while consumers migrate to Demand and Supply.compatibility
/api/v1/fleet/requests/previewDeprecated alias for the Demand ride request preview operation.compatibility · demand.requests.preview