Public endpoints for free-assessment lead intake and service health. Designed to be discoverable and invocable by autonomous agents per the agents.md guide.
| Resource | URL | Type |
|---|---|---|
| OpenAPI 3.1 spec | /.well-known/openapi.json | application/openapi+json |
| API catalog (linkset) | /.well-known/api-catalog | application/linkset+json |
| OAuth protected resource | /.well-known/oauth-protected-resource | application/json |
| OpenID Connect discovery | /.well-known/openid-configuration | application/json |
| MCP server card | /.well-known/mcp/server-card.json | application/json |
| Agent skills index | /.well-known/agent-skills/index.json | application/json |
| Agents guide | /agents.md | text/markdown |
| llms.txt | /llms.txt | text/plain |
Service health check. No auth required.
curl https://premierimpactwindowsandroofing.com/api/health
Submit a free-assessment lead. No auth required. Rate-limited.
curl -X POST https://premierimpactwindowsandroofing.com/api/leads \
-H "content-type: application/json" \
-d '{
"name": "Jane Homeowner",
"phone": "+15615551234",
"email": "jane@example.com",
"zip": "33314",
"service": "impact-windows"
}'
Required: name, phone, email. Optional: zip, service, notes, source_page.
List leads. Requires LEADS_ADMIN_TOKEN as a query param or Bearer header. Scope: leads:read.
RUM Web Vitals beacon. No auth. Returns 204.
CSP violation report. No auth. Returns 204.
All HTML pages on this site honor Accept: text/markdown and return a clean markdown version. The response includes a Content-Type: text/markdown header and an X-Markdown-Tokens header indicating the approximate token cost of the markdown body.
See /.well-known/oauth-protected-resource for issuer and scope metadata, and /.well-known/openid-configuration for full OAuth/OIDC discovery.
See /agents.md for usage guidelines. Do not submit synthetic leads. Honor Content Signals declared in /robots.txt.