# auth.md

StayHive's public property API is for anonymous AI assistants and other machine clients.

## Audience

Agents that look up a published StayHive property, check dates, and quote a stay.

## Registration

There is no agent registration endpoint and no provisioning endpoint. Host sign-in at `/auth` is for people who operate a property. An agent must not create an account.

## Methods

Unauthenticated HTTPS GET. No API key.

- Catalogue: `https://stayhive.com.au/api/public/properties`
- Property: `https://stayhive.com.au/api/public/properties/{slug}`
- Booked dates: `https://stayhive.com.au/api/public/availability/{slug}`
- Quote: `https://stayhive.com.au/api/public/quote/{slug}?check_in=YYYY-MM-DD&check_out=YYYY-MM-DD&guests=N`

## Credentials

Send no Authorization header. There is no bearer token and no client secret for this API. A bookable quote includes a booking link. The guest pays in the browser via Stripe. Hosts remain the merchant. StayHive does not support agent-initiated booking or agent-initiated payment.

## Identity

If your agent signs its requests with Web Bot Auth (today, ChatGPT agent), we check the signature and record the result in our logs. A verified signature tells the host which assistant sent the guest. It doesn’t change what you can access or what anything costs.

## Where to start

- [API catalog](https://stayhive.com.au/.well-known/api-catalog)
- [OpenAPI 3.1](https://stayhive.com.au/api/public/openapi.json)
- [Quote skill](https://stayhive.com.au/.well-known/agent-skills/quote-a-stay/SKILL.md)
- [AI booking notes](https://stayhive.com.au/ai-booking)
- [Site map](https://stayhive.com.au/llms.txt)
