﻿# WebburnsTech Auth.md

This document describes how AI agents can interact with and register for WebburnsTech services.

## Agent Audience

This document is intended for AI agents, automated clients, and developer integrations that wish to:
- Submit contact inquiries on behalf of users
- Query the AI assistant
- Book consultations
- Access client project dashboards

## Public API Access (No Authentication Required)

The following endpoints are open to all agents without credentials:

| Endpoint | Method | Purpose |
|----------|--------|---------|
| `/api/contact.php` | POST | Submit contact inquiry |
| `/api/ai.php` | POST | Query the AI assistant |
| `/api/book-consultation.php` | POST | Get consultation booking links |
| `/.well-known/api-catalog` | GET | Discover all APIs |
| `/.well-known/agent-skills/index.json` | GET | Discover available agent skills |

See [OpenAPI Specification](https://webburnstech.dev/api/openapi.json) for full request/response schemas.

## Client Portal Access (Session Authentication)

The WebburnsTech Client Portal (`/client-dashboard.html`) uses session-based authentication:

- **Registration:** Submit a project inquiry at `/client-inquiry.html`
- **Login:** Credentials are issued by the WebburnsTech team after project kickoff
- **Session Duration:** 3 days for clients, 1 week for admins
- **Token Transport:** HTTP session cookie (`PHPSESSID`)

## Agent Registration

To register an agent for automated API access:

1. Submit a contact inquiry using the `/api/contact.php` endpoint with subject `"Agent Registration Request"`
2. Describe the agent's intended use case and the endpoints it needs
3. The WebburnsTech team will review and respond within 24 hours
4. For enterprise integrations, book an [Enterprise Consultation](https://calendly.com/d/cym7-hhm-6zx/enterprise-planning-90-min)

## Discovery

- **API Catalog:** `/.well-known/api-catalog`
- **Agent Skills:** `/.well-known/agent-skills/index.json`
- **MCP Server Card:** `/.well-known/mcp/server-card.json`
- **OAuth Resource Metadata:** `/.well-known/oauth-protected-resource`

## Contact

- Email: contact@webburnstech.dev
- Website: https://webburnstech.dev
- Privacy Policy: https://webburnstech.dev/privacy-policy.html
- Terms of Service: https://webburnstech.dev/terms-of-service.html
