{"openapi":"3.1.0","info":{"title":"FreshFlow – nyilvános API","version":"1.0.0","description":"Read-only business data for AI assistants, plus one endpoint to submit a quote request (ajánlatkérés) on behalf of a customer. Only submit a quote request when the customer has explicitly asked for it and agreed to the privacy policy (adatkezelési tájékoztató).","contact":{"email":"kapcsolat@freshflow.hu"}},"servers":[{"url":"https://freshflow.hu"}],"paths":{"/api/business.json":{"get":{"operationId":"getBusiness","summary":"Business facts: contact, service area, services","responses":{"200":{"description":"Business data","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/services.json":{"get":{"operationId":"listServices","summary":"Services with what is included and FAQs","responses":{"200":{"description":"Service list","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/blog.json":{"get":{"operationId":"listPosts","summary":"Blog articles","responses":{"200":{"description":"Post list","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/ajanlatkeres":{"post":{"operationId":"submitQuoteRequest","summary":"Submit a quote request (ajánlatkérés)","description":"Creates a lead. The owner calls or emails the customer back, usually within 1 working day. Rate limited.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["nev","adatkezeles"],"properties":{"nev":{"type":"string","minLength":2,"maxLength":100,"description":"Customer name"},"telefon":{"type":"string","maxLength":30,"description":"Phone number. telefon or email is required."},"email":{"type":"string","format":"email","maxLength":200},"telepules":{"type":"string","maxLength":80,"description":"Town, e.g. Pécs"},"szolgaltatas":{"type":"string","enum":["klimaszereles","klimakarbantartas","klimatisztitas","klima-leszereles-visszaszereles","egyeb"]},"uzenet":{"type":"string","maxLength":2000,"description":"Free-text request details (Hungarian preferred)"},"adatkezeles":{"type":"boolean","const":true,"description":"Customer accepted https://freshflow.hu/adatkezelesi-tajekoztato/"},"forras":{"type":"string","maxLength":80,"description":"Name of the submitting assistant/agent, e.g. \"ChatGPT\""}}}}}},"responses":{"200":{"description":"Accepted","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"id":{"type":"string"},"message":{"type":"string"}}}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"errors":{"type":"object"}}}}}},"429":{"description":"Too many requests"}}}}}}