{"openapi":"3.1.0","info":{"title":"beesolo API","version":"1.0.0","description":"Anonymous read-only access to Solo pricing and known published booking pages."},"paths":{"/api/v1/plan":{"get":{"tags":["public"],"operationId":"getSoloPlan","parameters":[],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","enum":["Solo"]},"trialDays":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"prices":{"type":"object","properties":{"monthly":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","enum":["EUR"]},"excludesVat":{"type":"boolean","enum":[true]}},"required":["amountMinor","currency","excludesVat"],"additionalProperties":false},"annual":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","enum":["EUR"]},"excludesVat":{"type":"boolean","enum":[true]}},"required":["amountMinor","currency","excludesVat"],"additionalProperties":false}},"required":["monthly","annual"],"additionalProperties":false},"limits":{"type":"object","properties":{"shops":{"type":"number","enum":[1]},"professionals":{"type":"number","enum":[1]},"publicBookingPages":{"type":"number","enum":[1]}},"required":["shops","professionals","publicBookingPages"],"additionalProperties":false},"includes":{"type":"array","items":{"type":"string"}},"url":{"type":"string"}},"required":["name","trialDays","prices","limits","includes","url"],"additionalProperties":false}}}},"429":{"description":"Too many requests.","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["RATE_LIMITED"]},"message":{"type":"string"},"nextAction":{"type":"string"}},"required":["code","message","nextAction"],"additionalProperties":true}}}}},"description":"Read published Solo prices, trial length, and limits. Prices use minor currency units."}},"/api/v1/booking-pages/{slug}":{"get":{"tags":["public"],"operationId":"getPublishedBookingPage","parameters":[{"name":"slug","in":"path","schema":{"type":"string","minLength":1,"maxLength":100,"description":"Exact slug from the professional's public beesolo URL"},"required":true}],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"timezone":{"type":"string"},"profileUrl":{"type":"string"},"bookingUrl":{"type":"string"},"services":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"currency":{"type":"string"},"priceMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"durationMinutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["name","description","currency","priceMinor","durationMinutes"],"additionalProperties":false}}},"required":["slug","name","timezone","profileUrl","bookingUrl","services"],"additionalProperties":false}}}},"400":{"description":"The request parameters are invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["INVALID_INPUT"]},"message":{"type":"string"},"nextAction":{"type":"string"}},"required":["code","message","nextAction"],"additionalProperties":true}}}},"404":{"description":"The requested public resource was not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["NOT_FOUND"]},"message":{"type":"string"},"nextAction":{"type":"string"}},"required":["code","message","nextAction"],"additionalProperties":true}}}},"429":{"description":"Too many requests.","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["RATE_LIMITED"]},"message":{"type":"string"},"nextAction":{"type":"string"}},"required":["code","message","nextAction"],"additionalProperties":true}}}},"503":{"description":"Published booking pages are temporarily unavailable.","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["UNAVAILABLE"]},"message":{"type":"string"},"nextAction":{"type":"string"}},"required":["code","message","nextAction"],"additionalProperties":true}}}}},"description":"Look up a known professional slug and return the published service menu and a link for the client to complete booking."}}},"components":{"schemas":{"BookingReadUnavailableEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["BookingReadUnavailable"]},"code":{"type":"string","enum":["UNAVAILABLE"]},"message":{"type":"string"},"nextAction":{"type":"string"}},"required":["_tag","code","message","nextAction"],"additionalProperties":false},"BookingNotFoundEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["BookingNotFound"]},"code":{"type":"string","enum":["NOT_FOUND"]},"message":{"type":"string"},"nextAction":{"type":"string"}},"required":["_tag","code","message","nextAction"],"additionalProperties":false}},"securitySchemes":{}},"security":[],"tags":[{"name":"public"}],"servers":[{"url":"https://beesolo.app"}]}