# auth.md

HeatPumps.co agent authentication and registration for automated clients that research the catalog and submit consented installer quote requests.

## Audience

LLM agents, MCP clients, and other automated systems acting for homeowners who want heat-pump product research or local contractor quotes in the United States.

## Registration / provisioning

This service does **not** currently publish OAuth Protected Resource Metadata, Authorization Server metadata, or an `/agent/identity` registration flow. Agents do **not** need to register an account or obtain API credentials to use the public surfaces below.

There is no `register_uri` and no bearer token issuance for agents at this time.

## Supported methods

1. **Unauthenticated public discovery & catalog** — No credentials.
   - `GET /api/v1/products/search`
   - `GET /api/v1/products/compare`
   - `GET /api/v1/services`
   - `GET /api/v1/locations`
   - `GET /api/v1/health`
   - MCP: `POST /mcp` (see `/.well-known/mcp/server-card.json`)
2. **Consented quote submission** — No API key or OAuth token.
   - Preview: `POST /api/v1/quotes?dry_run=true`
   - Submit: `POST /api/v1/quotes`
   - Required: explicit `consent: true` plus contact and property fields described in `/openapi.json` and `/.well-known/agents.json`
   - Optional provenance: `agent_source`, `agent_version`, `submission_method` (`openapi` | `mcp` | `webmcp` | `agent-skill`)
   - Leave `website` empty (spam honeypot)

## Credential use

- Do not expect or send `Authorization` headers for the public catalog or quote APIs.
- Do not collect or submit homeowner PII until the user has given explicit consent for contractor matching.
- Quote responses return a quote id and status only; they are not long-lived API credentials.
- Treat each submission as a one-shot consented handoff; do not reuse stored PII for later calls.

## Human fallbacks

- Product catalog: https://heat-pumps.co/products/
- Quote form: https://heat-pumps.co/quote/
- Terms: https://heat-pumps.co/terms/
- Privacy: https://heat-pumps.co/privacy/

## Related discovery documents

- Agent instructions: https://heat-pumps.co/agents.md
- OpenAPI: https://heat-pumps.co/openapi.json
- Agents JSON: https://heat-pumps.co/.well-known/agents.json
- API catalog (RFC 9727): https://heat-pumps.co/.well-known/api-catalog
- MCP server card: https://heat-pumps.co/.well-known/mcp/server-card.json

## Contact

Integration questions: help@heat-pumps.co
