{
 "openapi": "3.1.0",
 "info": {
  "title": "elle8.com booking requests",
  "version": "2026-11-24",
  "description": "AI agents may book chauffeurs on a traveller's behalf. Send a booking request only with the traveller's explicit consent; the 24/7 desk confirms the written quote, vehicle and chauffeur. A request is not a confirmed booking, and agents never take payment. Instant prices for people: https://yourwebbooker.com/en/66be69410efa82332203f3d6/false/false/true/rounded/0B0B0D/B8913F/ffffff/Inter, sans-serif. Site forms (partner and driver applications) use /api/lead.php.",
  "contact": {
   "email": "support@elle8.com",
   "url": "https://elle8.com/agents/"
  },
  "x-mcp-server": "https://elle8.com/api/mcp.php"
 },
 "servers": [
  {
   "url": "https://elle8.com"
  }
 ],
 "paths": {
  "/api/search.php": {
   "get": {
    "operationId": "searchCoverage",
    "summary": "Search cities, airports, FBOs, hotels, venues, events, services and guides",
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "City, IATA code, FBO, hotel, venue, event, service or topic"
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "cities",
        "provinces",
        "airports",
        "fbo",
        "train-stations",
        "cruise-ports",
        "hotels",
        "resorts",
        "ski-resorts",
        "golf",
        "venues",
        "events",
        "concerts",
        "conferences",
        "attractions",
        "delegations",
        "routes",
        "services",
        "fleet",
        "travel-desk",
        "network",
        "international",
        "guides"
       ]
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 25,
       "default": 10
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Matching pages with url and markdown links"
     }
    }
   }
  },
  "/api/booking.php": {
   "get": {
    "operationId": "bookingHelp",
    "summary": "Usage help",
    "responses": {
     "200": {
      "description": "JSON help"
     }
    }
   },
   "post": {
    "operationId": "createBookingRequest",
    "summary": "Create a booking request for a traveller",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/BookingRequest"
       }
      },
      "application/x-www-form-urlencoded": {
       "schema": {
        "$ref": "#/components/schemas/BookingRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Received",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/BookingResult"
        }
       }
      }
     },
     "400": {
      "description": "Missing or invalid fields"
     },
     "429": {
      "description": "Rate limited (10 per hour per IP)"
     }
    }
   }
  }
 },
 "components": {
  "schemas": {
   "BookingRequest": {
    "type": "object",
    "required": [
     "name",
     "pickup",
     "dropoff",
     "date",
     "time",
     "consent"
    ],
    "properties": {
     "name": {
      "type": "string",
      "description": "Lead passenger full name"
     },
     "email": {
      "type": "string",
      "format": "email",
      "description": "Email or phone is required"
     },
     "phone": {
      "type": "string",
      "description": "Mobile with country code, WhatsApp-capable preferred"
     },
     "service": {
      "type": "string",
      "enum": [
       "Airport transfer",
       "FBO / private jet",
       "Point to point",
       "Hourly / as directed",
       "Monthly chauffeur",
       "Corporate / roadshow",
       "Event / concert / gala",
       "Wedding",
       "Prom / graduation",
       "Party bus night out",
       "Wine tour",
       "Ski / cottage transfer",
       "Cross-border (Buffalo)",
       "Delegation / group",
       "Cruise port",
       "Train station",
       "Travel Desk request"
      ]
     },
     "pickup": {
      "type": "string",
      "description": "Address, hotel, airport code + terminal or FBO"
     },
     "dropoff": {
      "type": "string"
     },
     "date": {
      "type": "string",
      "format": "date",
      "description": "Local date of pickup (YYYY-MM-DD)"
     },
     "time": {
      "type": "string",
      "description": "Local pickup time (HH:MM). For arrivals use the scheduled landing time."
     },
     "flight": {
      "type": "string",
      "description": "Flight, train or ship identifier"
     },
     "passengers": {
      "type": "integer",
      "minimum": 1
     },
     "bags": {
      "type": "integer",
      "minimum": 0
     },
     "vehicle": {
      "type": "string",
      "enum": [
       "Standard Sedan",
       "SUV Business Standard",
       "SUV Executive First Class",
       "First Class Executive Sedan (E | S Class)",
       "First Class Mercedes-Maybach Luxury Sedan",
       "Stretch Limousine Sedan",
       "Stretch Limousine SUV",
       "Sprinter Standard",
       "Party Bus",
       "Jet Sprinter Executive",
       "Multiple vehicles",
       "No preference"
      ]
     },
     "hours": {
      "type": "integer",
      "minimum": 1,
      "description": "For hourly / as-directed bookings"
     },
     "return": {
      "type": "string",
      "description": "Return trip details, if any"
     },
     "notes": {
      "type": "string",
      "description": "Child seats, accessibility, stops, NDA, sign name, etc."
     },
     "agent": {
      "type": "string",
      "description": "Name of the AI agent / app sending the request"
     },
     "consent": {
      "type": "string",
      "enum": [
       "yes"
      ],
      "description": "The traveller explicitly asked for this booking"
     }
    }
   },
   "BookingResult": {
    "type": "object",
    "properties": {
     "ok": {
      "type": "boolean"
     },
     "ref": {
      "type": "string",
      "example": "EL8-K3F9Q2X"
     },
     "status": {
      "type": "string",
      "example": "received"
     },
     "next": {
      "type": "string"
     },
     "instant_quote": {
      "type": "string"
     },
     "phone": {
      "type": "string"
     }
    }
   }
  }
 }
}