{"info":{"contact":{"email":"contact@synthropia.ai","url":"https://synthropia.ai/contact"},"description":"Machine-readable description of the Synthropia website API: the contact-lead endpoint and the service status endpoint. Full human-readable documentation lives at https://synthropia.ai/docs/api.","license":{"name":"All rights reserved"},"title":"Synthropia website API","version":"1.0.0"},"openapi":"3.1.0","paths":{"/api/contact":{"post":{"description":"Submits a sales lead from the website contact form. Leads are delivered by email and/or chat webhook. Requires prior consent (consent=on). Responds 200 with {ok:true} for accepted leads, including honeypot/bot submissions which are silently accepted.","operationId":"submitLead","requestBody":{"content":{"application/json":{"schema":{"properties":{"clinic":{"type":"string"},"consent":{"description":"Must be 'on' to prove the visitor accepted the privacy notice.","type":"string"},"country":{"type":"string"},"email":{"format":"email","type":"string"},"lang":{"type":"string"},"message":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"source":{"type":"string"},"website":{"description":"Honeypot field. Must be empty.","type":"string"}},"required":["name","clinic","email","consent"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Lead accepted (or bot submission silently accepted)."},"422":{"description":"Validation failed."},"503":{"description":"Lead delivery is not configured."}},"summary":"Submit a contact lead","tags":["leads"]}},"/api/status":{"get":{"description":"Unauthenticated health check for the website API. Used as the RFC 9727 status link relation target.","operationId":"getStatus","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"ok":{"type":"boolean"},"service":{"type":"string"},"time":{"format":"date-time","type":"string"},"version":{"type":"string"}},"required":["ok","service","version","time"],"type":"object"}}},"description":"Service is up."}},"summary":"Service status","tags":["status"]}}},"servers":[{"url":"https://synthropia.ai"}]}