Developers & agents

Public API

Oh My Sod exposes public JSON endpoints for discovery, nursery browsing, and lead submission. There is no OAuth for these APIs — see auth.md.

Machine-readable discovery

Useful GET endpoints

Lead POST endpoints

/api/contact, /api/sod-order, /api/tree-order, /api/install-estimate, /api/stump-estimate, and /api/hub-question accept JSON leads. When Turnstile is configured, include a valid captcha token. Prefer the HTML forms on /estimate-request, /sod-order, /order-trees, and /stump-estimate for humans.

Not for public agents

/api/admin/* is operator-only (shared bearer token). Robots are asked not to crawl /api/ or /admin/ in robots.txt.