{"openapi":"3.1.0","info":{"title":"Lusso API","version":"1.0.0","description":"Hermès, Chanel, Cartier, Dyson and La Mer, sealed inside boxes from $50. Open one and feel your heart race. Keep it, ship it, or sell it back for 90% in credit."},"servers":[{"url":"https://trylusso.com"}],"security":[{"bearer":[]}],"paths":{"/api/v1/saved-boxes":{"get":{"summary":"List Saved boxes","description":"A box she wants to come back to, with her own private note.","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","maximum":200}},{"name":"offset","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Invalid key"},"429":{"description":"Rate or quota limit"}}},"post":{"summary":"Create a Saved box","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Savedbox"}}}},"responses":{"201":{"description":"Created"},"402":{"description":"Record limit"},"422":{"description":"Invalid"}}}},"/api/v1/saved-boxes/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"get":{"summary":"Read a Saved box","responses":{"200":{"description":"OK"},"404":{"description":"Not found"}}},"patch":{"summary":"Update a Saved box","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Savedbox"}}}},"responses":{"200":{"description":"OK"},"404":{"description":"Not found"}}},"delete":{"summary":"Delete a Saved box","responses":{"204":{"description":"Deleted"},"404":{"description":"Not found"}}}},"/api/v1/onboarding":{"get":{"summary":"Onboarding questions","description":"The questions that finish setting up an account. No key needed; with a key the reply also carries the current answers. Costs no quota.","security":[],"responses":{"200":{"description":"OK"}}},"post":{"summary":"Answer onboarding for your user","description":"Stores the answers exactly as the onboarding form does, marked as answered by an agent. Idempotent. Costs no quota.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["answers"],"properties":{"answers":{"type":"object","properties":{"favorite":{"type":"string","enum":["Skincare","Makeup","Hair tools","Fragrance","All of it"],"description":"What do you love most?"},"heard":{"type":"string","enum":["TikTok","Instagram","A friend","Search","Other"],"description":"Where did you hear about us?"},"first_pull":{"type":"string","description":"What would you love to pull first?"}},"required":["favorite","heard"]},"client":{"type":"string","description":"Your name, such as Claude Code."}}}}}},"responses":{"200":{"description":"Saved"},"401":{"description":"Invalid key"},"422":{"description":"Invalid answers"},"429":{"description":"Too many answers this minute"}}}}},"components":{"schemas":{"Savedbox":{"type":"object","additionalProperties":false,"required":["box"],"properties":{"box":{"type":"string","enum":["glow-up","it-girl","luxe","soft-life","hair-day","signature","skin-ritual","gold-hour","atelier"],"description":"The box to come back to"},"note":{"type":"string","description":"Her own note"}}}},"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}}}