{"openapi":"3.1.0","info":{"title":"Salyant Signal API","version":"1.0.0","description":"Authenticated audit and checkout endpoints. A free audit is available once per normalised email and site domain. A single-page paid audit costs £5; a crawl of up to five pages costs £15. Checkout requires STRIPE_SECRET_KEY. API access requires SIGNAL_API_KEY."},"servers":[{"url":"https://signal.salyant.co.uk"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"paths":{"/api/integrations?action=audit":{"post":{"summary":"Run a site audit","description":"Uses the same SSRF protections and entitlement checks as the dashboard. Supply paymentSessionId after a successful Stripe checkout if the free run has already been used.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url","email"],"properties":{"url":{"type":"string","format":"uri"},"email":{"type":"string","format":"email"},"scope":{"type":"string","enum":["page","site"]},"paymentSessionId":{"type":"string"}}}}}},"responses":{"200":{"description":"Audit report"},"401":{"description":"API key missing or invalid"},"402":{"description":"Paid checkout required or not confirmed"},"409":{"description":"Free entitlement already used or checkout session already used"},"429":{"description":"Rate limited"}}}},"/api/integrations?action=checkout":{"post":{"summary":"Create a one-time checkout","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url","email"],"properties":{"url":{"type":"string","format":"uri"},"email":{"type":"string","format":"email"},"scope":{"type":"string","enum":["page","site"]}}}}}},"responses":{"200":{"description":"Checkout URL"},"503":{"description":"Stripe Checkout is not configured"}}}}}}