# Authentication

Each operation states the credential it accepts. Keep server credentials on your server.

## Public reads

Catalog and availability can be read without a staff login. A shop website server may send a site key to select a shop.

[Read the guide](/docs/booking-api/site-keys)

## Guest bookings

A booking capability or view token protects a particular guest trip. A site key alone cannot read it.

## Shop API keys · Preview

A key belongs to one person and one shop. Send it in the bearer header from a trusted server.

[Read the guide](/docs/api-keys/authentication)

```bash
# Shop site key for a public catalog read
curl "https://api.outdoorgrid.ai/v1/public/rental-catalog" \
  -H "X-Outdoor-Grid-Site-Key: $SITE_KEY"

# Guest booking capability for the current trip
curl "https://api.outdoorgrid.ai/v1/public/bookings/current" \
  -H "Authorization: Booking $BOOKING_TOKEN"

# View token from a guest booking link
curl "https://api.outdoorgrid.ai/v1/public/booking-view" \
  -H "X-Booking-View: $BOOKING_VIEW"
```