Version: 2.0.0
Demand API
The Demand API enables you to integrate ride booking and management capabilities into your applications. This comprehensive API provides endpoints for generating quotes, creating and managing bookings, retrieving booking history, managing webhooks, and accessing vehicle type information.
Key Features
- Quote Generation: Get real-time pricing estimates for rides based on pickup location, destination, and vehicle type
- Booking Management: Create, update, cancel, and retrieve booking information with support for both quote-based and custom bookings
- Booking History: Access historical data for completed, cancelled, and ongoing bookings
- Vehicle Types: Retrieve available vehicle types and their specifications
- Webhooks: Subscribe to real-time notifications for booking status changes, driver assignments, and location updates
- Booking Activities: Add notes and activities to bookings with customizable visibility permissions
Supported Roles
The API supports two permission levels:
- Partner: For third-party integrations with access limited to bookings created through your API key
- Fleet Manager: Full access to all bookings within your assigned fleet, ideal for internal tools and dashboards
Getting Started
- Authenticate using the Authentication API to obtain an access token
- Generate a quote for a ride using the Get Quotes endpoint
- Create a booking using the quote ID or create a custom booking with predefined pricing
- Monitor booking status and receive real-time updates via webhooks
- Access booking history and manage booking adjustments as needed
Authentication
- HTTP: Bearer Auth
| Security Scheme Type: | http |
|---|---|
| HTTP Authorization Scheme: | bearer |
| Bearer format: | JWT |