Partner API reference
The current server-to-server endpoints exposed by the EgyptLimo integration gateway.
Choose one environment base URL, then append the integration path shown below.
Sandbox: https://{merchant}.sandbox.partner-api.egyptlimo.com/api/v1
Production: https://{merchant}.partner-api.egyptlimo.com/api/v1
Example: https://{merchant}.partner-api.egyptlimo.com/api/v1/integration/quotesReplace {merchant} with the subdomain assigned during onboarding. Every route in this reference starts with /integration — do not repeat /api/v1 after using a base URL.
Except for token issuance, requests require:
Authorization: Bearer <access_token>
X-Merchant-Id: <merchant_id>
X-Key-Id: <signing_key_id>
X-Timestamp: <ISO-8601-UTC>
X-Nonce: <new-unique-value>
X-Signature: <HMAC-signature>Write endpoints also require Idempotency-Key. The client must have the relevant scope enabled.
Platform and discovery
| Method | Path | Scope | Purpose |
|---|---|---|---|
POST | /integration/oauth2/token | — | Exchange client credentials for an access token. |
GET | /integration/health | token | Check gateway availability. |
GET | /integration/capabilities | catalog:read | Read enabled features for this client/environment. |
GET | /integration/places/search?q= | places:read | Search valid pickup and drop-off locations. |
GET | /integration/services | catalog:read | List configured services. |
GET | /integration/vehicle-classes | catalog:read | List active vehicle classes and capacities. |
GET | /integration/extras | catalog:read | List add-ons and partner prices. |
GET | /integration/cancellation-policies | catalog:read | Read the current cancellation rules. |
Quotes and bookings
| Method | Path | Scope | Purpose |
|---|---|---|---|
POST | /integration/quotes | quotes:read | Create a live quote. |
GET | /integration/quotes/{quote_id} | quotes:read | Get a quote while it is retained. |
POST | /integration/quotes/{quote_id}/confirm | quotes:confirm | Confirm quote intent before booking. |
POST | /integration/bookings | bookings:create | Create one booking from a valid quote. |
GET | /integration/trips/options | catalog:read | Discover valid pickup, destination, vehicle, guide, and extra IDs. |
POST | /integration/trips/quotes | quotes:read | Get an itemized EgyptLimo Trip quote. |
POST | /integration/trips/bookings | bookings:create | Book a Trip from an owned, unexpired quote. |
POST | /integration/file-bookings | bookings:create | Atomically create 1–50 individually quoted transfers under one File Reference. |
GET | /integration/file-bookings/{file_id} | bookings:read | Retrieve your File group by EgyptLimo-issued ID. |
GET | /integration/bookings | bookings:read | List only bookings belonging to your client. |
GET | /integration/bookings/{booking_id} | bookings:read | Get a booking; use include for richer details. |
GET | /integration/bookings/{booking_id}/status | bookings:read | Get current lifecycle status. |
PATCH | /integration/bookings/{booking_id} | bookings:update | Request allowed changes: pickup time, flight number, requests, or reason. |
POST | /integration/bookings/{booking_id}/cancellation-quote | bookings:cancel | Preview cancellation before acting. |
POST | /integration/bookings/{booking_id}/cancel | bookings:cancel | Cancel an eligible booking. |
GET | /integration/bookings/{booking_id}/events | bookings:read | Read recorded booking events. |
GET | /integration/bookings/{booking_id}/documents/{document_type} | bookings:read | Retrieve a supported booking document. |
Financial, webhook, and link operations
| Area | Paths |
|---|---|
| Refunds | GET /bookings/{booking_id}/refund-preview, POST /bookings/{booking_id}/refunds, GET /refunds/{refund_id} |
| API-usage invoices | GET /invoices, GET /invoices/{invoice_id} — API request charges, not trip collections |
| API-usage statements | GET /statements, /statements/{id}, /statements/{id}/pdf, /transactions, /balance |
| Webhooks | GET/PATCH /webhook-subscription, GET /webhook-deliveries, POST /webhook-deliveries/{id}/replay |
| Booking Links | POST/GET /booking-links, GET /booking-links/{token} |
Booking Link create/list/read routes use the environment of your credentials. Sandbox links have an sbl_ token and public completion creates only an sbk_ Sandbox record; payment is disabled. Live link contract · Sandbox simulation contract.
Direct API bookings use the existing Partner/Local Portal account-invoice workflow for consolidated trip collections. The /integration/invoices and /integration/statements resources are API-usage billing; they do not expose those trip invoices. See Pricing and settlement.
Sandbox refund requests create an isolated srf_ simulation record. GET /refunds/{refund_id} returns it only to the owning API client; refund-preview subtracts prior simulated requests from the remaining amount. No gateway refund or money movement occurs in Sandbox.
GET /statements/{id}/pdf returns the owning client's API-usage statement as an inline PDF (application/pdf). The JSON statement remains available at GET /statements/{id}. Statement records and their PDF are created only when API-usage billing has generated a statement for the period.
Trip API and File Booking require their respective partner service entitlements in addition to API scopes. See Trip API and File Booking for full contracts. The older /foreign-trips/v2/* API paths remain accepted for compatibility. General Bulk and Daily remain Partner Portal-only; see Portal booking modes.