API reference
Every endpoint this site exposes, generated from the validation schemas in the code. The OpenAPI document is at /api/openapi.json.
POST /api/contact
Submit a project enquiry
Same-origin only. Validated server-side; rate limited to 5 per IP per hour; identical resubmissions within 10 minutes are deduplicated.
- 200
- Recorded
- 400
- Validation failed
- 403
- Cross-site request rejected
- 413
- Body over 16 KB
- 429
- Rate limited
- 502
- Could not record or deliver
POST /api/auth/magic-link
Request a portal sign-in link
Always answers ok, whether or not the address belongs to a member.
- 200
- Accepted
- 429
- Rate limited
GET /api/health
Liveness
- 200
- Process is up
GET /api/ready
Readiness
- 200
- Database reachable
- 503
- Database unreachable
GET /api/metrics
Prometheus business metrics
- 200
- text/plain; version=0.0.4
- 401
- Missing or wrong token
- 404
- Metrics disabled
POST /api/webhooks/razorpay
Razorpay webhook (HMAC-SHA256 verified)
- 200
- Recorded
- 400
- Bad signature
- 503
- Secret not configured
POST /api/webhooks/stripe
Stripe webhook (signed timestamp, 5-minute window)
- 200
- Recorded
- 400
- Bad signature
- 503
- Secret not configured
