Getting started
Complete a sandbox quote-to-booking flow.
Use the merchant-specific sandbox base URL supplied during onboarding:
https://{merchant}.sandbox.partner-api.egyptlimo.com/api/v1- Create an access token at
POST /integration/oauth2/token. - Load
/integration/capabilitiesand the catalog; use only features and vehicle options returned for your client. - Create a quote, then create a booking from an unexpired
quote_idand returnedvehicle_class. - Register and verify your webhook endpoint.
- Test expiry, duplicate requests, rejection, cancellation, and webhook replay before production.
- If your journey uses customer links, create an isolated
sbl_link and complete it once; see Sandbox booking-link simulation.
Create a quote
{
"pickup_location": { "lat": 30.1219, "lng": 31.4056, "address": "Cairo International Airport" },
"dropoff_location": { "lat": 29.9773, "lng": 31.1325, "address": "Giza Pyramids" },
"pickup_datetime": "2026-11-10T14:30:00Z",
"passengers": 2,
"partner_reference": "AGENCY-QUOTE-1001"
}Send this to POST /integration/quotes with the signed headers from Authentication. The response contains quote_id, status, expires_at, currency, and options. Select an option's exact vehicle_class; a quote is authoritative only until expires_at.
Create a booking
{
"quote_id": "qte_…",
"vehicle_class": "Business Sedan",
"partner_reference": "AGENCY-BOOKING-1001",
"passenger": {
"name": "Ahmed Ali",
"phone": "+201000000000",
"email": "ahmed@example.com",
"preferred_contact_method": "whatsapp"
},
"payment_method": "invoice",
"flight_number": "MS777"
}Send this to POST /integration/bookings with a fresh Idempotency-Key. The 201 response returns EgyptLimo's opaque booking_id; persist it with your partner_reference.
The direct API journey does not open customer checkout: completed, unpaid trips enter consolidated partner collection. To send the customer to EgyptLimo's hosted completion journey, use a Booking Link from the same all-inclusive Quote instead. See Pricing and settlement.
Sandbox data is isolated and never creates a live trip. Do not treat a sandbox booking confirmation as operational acceptance.