{"openapi":"3.1.0","info":{"title":"WillDo booking API","version":"1.0.0","description":"Book a local service business in Singapore for home and car jobs (aircon, plumber, electrician, locksmith, water heater, appliance repair, pest control, bulky disposal, car battery, tyres, towing) for a person you act for. No key needed for /api/v1/booking-link (the customer confirms by sending a pre-written WhatsApp message); an MCP server is also at /mcp. We match a technician, usually within 15 minutes, and connect them with the customer on WhatsApp. The customer pays the technician directly."},"servers":[{"url":"https://heywilldo.com"}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}},"schemas":{"Service":{"type":"string","enum":["GENERAL_SERVICING","CHEMICAL_WASH","CHEMICAL_OVERHAUL","GAS_TOPUP","REPAIR","BATTERY_REPLACEMENT","JUMP_START","TYRE_PUNCTURE","TYRE_REPLACEMENT","CAR_TOW","CAR_LOCKOUT","HOME_LOCKOUT","DIGITAL_LOCK","PLUMBING_CHOKE","PLUMBING_LEAK","ELECTRICAL_FAULT","WATER_HEATER_REPAIR","WATER_HEATER_REPLACE","APPLIANCE_REPAIR","PEST_CONTROL","BULKY_DISPOSAL","HOME_CLEANING","DEEP_CLEANING","HOUSE_MOVING","PAINTING"]}}},"paths":{"/api/v1/services":{"get":{"operationId":"listServices","summary":"List services and supported areas","responses":{"200":{"description":"Catalog"}}}},"/api/v1/booking-link":{"get":{"operationId":"getBookingLink","summary":"Book without an API key: returns a WhatsApp link the customer taps to send (that confirms the booking)","parameters":[{"name":"service","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Service"}},{"name":"location","in":"query","required":true,"description":"6-digit postal code or estate name","schema":{"type":"string"}},{"name":"preferred_time","in":"query","required":true,"schema":{"type":"string"}},{"name":"units","in":"query","schema":{"type":"integer","minimum":1,"maximum":30}},{"name":"address","in":"query","schema":{"type":"string"}},{"name":"vehicle","in":"query","description":"Car make, model, year, and tyre size if known (car battery / tyre jobs)","schema":{"type":"string"}},{"name":"problem","in":"query","schema":{"type":"string"}},{"name":"customer_name","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"booking_link, next_step, estimate"}}}},"/api/v1/quote":{"get":{"operationId":"getQuote","summary":"Price estimate for a job (no booking)","parameters":[{"name":"service","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Service"}},{"name":"units","in":"query","schema":{"type":"integer","minimum":1,"maximum":30,"default":1}},{"name":"area","in":"query","description":"Estate name (e.g. Sengkang) or 6-digit postal code","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Estimate in SGD"},"400":{"description":"Unknown service or area"}}}},"/api/v1/reviews":{"get":{"operationId":"getTrackRecord","summary":"Track record: completed jobs, verified customer reviews, matching speed (no key needed)","parameters":[{"name":"service","in":"query","description":"Only this trade","schema":{"$ref":"#/components/schemas/Service"}},{"name":"pro","in":"query","description":"Only jobs by businesses whose name contains this","schema":{"type":"string"}},{"name":"limit","in":"query","description":"Recent reviews to include","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}}],"responses":{"200":{"description":"completed_jobs, reviews {count, average_rating, distribution}, matching_last_90_days, by_trade, recent_reviews, how_verified"}}}},"/api/v1/jobs":{"post":{"operationId":"createJob","summary":"Book a technician on behalf of a customer","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["service","preferred_time","customer","customer_consent"],"properties":{"service":{"$ref":"#/components/schemas/Service"},"units":{"type":"integer","minimum":1,"maximum":30},"area":{"type":"string"},"postal_code":{"type":"string","pattern":"^\\d{6}$"},"address":{"type":"string"},"preferred_time":{"type":"string","description":"e.g. 'tomorrow 9am–12pm'"},"problem":{"type":"string","description":"Symptoms, e.g. 'bedroom unit leaking water' or 'car won't start, clicking'"},"vehicle":{"type":"string","description":"Car battery or tyre jobs: make, model and year (and tyre size if known), e.g. 'Honda Vezel 2018, 215/60 R16'"},"customer":{"type":"object","required":["name","phone"],"properties":{"name":{"type":"string"},"phone":{"type":"string","description":"Singapore mobile with WhatsApp"}}},"customer_consent":{"type":"boolean","const":true,"description":"The customer agreed to be contacted on WhatsApp"}}}}}},"responses":{"201":{"description":"Job created"},"400":{"description":"Invalid input"},"401":{"description":"Bad API key"}}}},"/api/v1/jobs/{id}":{"get":{"operationId":"getJob","summary":"Job status","security":[{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Status"},"404":{"description":"Not found"}}}}}}