# Randevuo API access status

This page describes the currently available integration surfaces and their rollout gates.

## 1. Audience

This page is for developers and agent builders checking which Randevuo interfaces are live.

## 2. Published documents

- **API Catalog:** [https://randevuo.com.tr/.well-known/api-catalog](https://randevuo.com.tr/.well-known/api-catalog)
- **OpenAPI specification:** [https://randevuo.com.tr/openapi.yaml](https://randevuo.com.tr/openapi.yaml)
- **LLM context:** [https://randevuo.com.tr/llms.txt](https://randevuo.com.tr/llms.txt)

## 3. Agent integration status

- The versioned REST agent-booking API at `/api/external/v1/booking/*` is disabled by default by `AGENT_BOOKING_API_ENABLED=false`. It uses a salon-owner-created Connected Apps API key with the required booking scope.
- Hosted MCP is available at `POST /api/external/v1/mcp`, but is disabled by default by the separate `AGENT_MCP_API_ENABLED=false` gate. MCP can use a Connected Apps API key or OAuth bearer token.
- OAuth Authorization Code + PKCE S256, owner consent, token, grant management, and RFC 8414 / RFC 9728 metadata are implemented but remain disabled by default. OAuth requires both `AGENT_OAUTH_API_ENABLED=true` and `AGENT_MCP_API_ENABLED=true`; the owner grant and granted scope are checked for each protected tool call.
- ChatGPT/Claude client compatibility and app-directory approval have not yet been verified; default-off implementation does not imply a completed client pilot or public listing.
- OAuth clients are pre-registered by an operator; dynamic registration is not supported. Connected Apps API keys remain available as a separate MCP credential path.
- Owner-authorized agent appointment creation is separate from public customer booking. REST and MCP have independent rollout flags; OAuth-authenticated MCP calls additionally require the salon owner's active grant and the `booking:create` scope. Read-only clients should receive only `booking:read`.
- The public booking API is customer-facing and does not grant an agent access to a salon owner's tenant.
- Agent payment, x402, MPP, and UCP checkout are not available capabilities.

## 4. Public customer booking

The public booking interface is scoped to a salon's public slug. It can return public salon information and catalog, list availability, and accept a customer-submitted booking. Booking requires the public flow's required fields, including KVKK consent. These endpoints are not an owner-authorized agent API:

- `GET /api/public/{salonSlug}` — public salon information, active services, and staff
- `GET /api/public/{salonSlug}/availability?date=YYYY-MM-DD&serviceId={id}` — public availability
- `POST /api/public/{salonSlug}/book` — customer-facing booking submission

For customer booking, direct customers to the salon's public booking page so they can review the appointment and provide consent themselves. For owner-authorized agent booking, the client shows the candidate summary before requesting approval. The customer then reviews the exact first-party summary, verifies access to the WhatsApp channel, and approves that booking. An agent-supplied consent boolean is not evidence that the customer gave consent or approved a booking.

REST and MCP booking writes require salon authorization, the matching booking scope, and current booking rules. When `AGENT_BOOKING_APPROVAL_ENABLED=true`, each write also requires a fresh, unexpired, single-use server-side approval bound to the authenticated source and exact booking summary. The customer verifies access to the WhatsApp channel and explicitly approves that one booking; this is not KVKK consent or marketing opt-in. Approval intent creation and booking writes remain unavailable while the default-off gate is false. Keep all agent booking gates disabled until provider/template/opt-in, security, legal/KVKK retention, and client acceptance checks are complete.
