Hotel PMS API and webhooks

Connect LodgeHog to your accounting, dashboards, automations and AI tools. Read reservations, guests and payments over a REST API, send bookings in from your own systems, and get a webhook the moment anything changes.

POST https://your-app.com/webhooks/lodgehog
X-Lodgehog-Event: reservation.created
X-Lodgehog-Signature: t=1790000000,v1=5f2c9a…

{
  "event": "reservation.created",
  "data": {
    "reservation": {
      "booking_code": "845D400246",
      "status": "confirmed",
      "source": { "channel_name": "Booking.com" },
      "checkin_date": "2026-10-10",
      "checkout_date": "2026-10-12",
      "guest": { "name": "Ana Souza" },
      "totals": { "total_price": "340.00", "payment_status": "unpaid" }
    }
  }
}

Your data, in your tools

Stop copying bookings into spreadsheets. Send them straight to your accounting, reports or CRM, without manual exports.

Real time, not overnight

Webhooks tell your systems about a new booking, change or cancellation within seconds, whichever channel it came from.

Ready for AI

Docs written for AI models, so ChatGPT, Claude or Cursor can build an integration for you from a single link.

What you can build with it

A few of the ways properties put their LodgeHog data to work.

Accounting

Send every payment and extra to your accounting software or accountant's spreadsheet, with totals already calculated.

Dashboards

Build your own occupancy and revenue reports in Looker Studio, Power BI or Metabase, across one or many properties.

Automations

Trigger Zapier, Make or n8n flows on every booking: notify the cleaning team, add the guest to your newsletter, post to Slack.

Custom apps

Connect door locks, guest apps or your own website to live reservation data, and send bookings from your own forms straight to the calendar.

Terminal
curl https://api.lodgehog.com/v1/reservations/ -G \
  -d modified_since=2026-10-01T00:00:00Z \
  -H "Authorization: Bearer lh_live_…"

{
  "next": "https://api.lodgehog.com/v1/reservations/?cursor=…",
  "results": [
    {
      "booking_code": "845D400246",
      "status": "checked_in",
      "rooms": [ { "room": { "name": "302" }, "price": "170.00" } ],
      "charges": [ { "name": "Minibar", "total": "50.00" } ],
      "payments": [ { "method": "credit_card", "value": "340.00" } ],
      "totals": { "total_due": "50.00", "payment_status": "partial" }
    }
  ]
}

A REST API that gives you the whole stay

Every reservation comes back complete, with rooms, guests, extras, payments and totals, so one request tells you everything about a stay.

Reservations, guests, rooms and room types.
Filter by status, check-in or check-out dates, guest or room.
Ask only for what changed since your last sync, including payments and extras.
OpenAPI schema, so developers can generate a client in any language.
Terminal
curl -X POST https://api.lodgehog.com/v1/reservations/ \
  -H "Authorization: Bearer lh_live_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 8f14e45f…" \
  -d '{
    "checkin_date": "2026-11-01",
    "checkout_date": "2026-11-03",
    "guest": { "name": "Ana Souza" },
    "rooms": [ { "room_category_id": "…",
                 "rate_plan_id": "…", "adults": 2 } ]
  }'

201 Created
{
  "booking_code": "A41F09C2",
  "status": "confirmed",
  "rooms": [ { "room": { "name": "302" }, "price": "340.00" } ],
  "source": { "made_by": "api" }
}

Send bookings in, not just out

Give a key write access and your own systems can book too. A group-sales form, a corporate portal or an AI agent creates the reservation, and it lands on your calendar and every channel at once.

Book a specific room or any free room of a type, priced from your rates or at your own price.
A room that is already taken is refused, never double-booked, even when an OTA booking arrives at the same moment.
Change dates and rooms, check guests in and out, or cancel.
Block a room for maintenance and it closes on every channel.
Safe to retry: a request sent twice books only once.
Webhook events
reservation.created
A new booking, from the PMS, your booking engine, the chatbot or any OTA.
reservation.updated
Dates, rooms, guests, extras or payments changed.
reservation.deleted
The booking was cancelled.

Webhooks the moment something changes

No polling needed. Register a URL and LodgeHog sends it the full, up-to-date reservation whenever one is created, changed or cancelled.

One webhook per edit, not one for every field that moved.
Signed with HMAC-SHA256, so you know it really came from us.
Failed deliveries are retried automatically for about an hour.
Send a test event and see every delivery in your settings.
Read https://api.lodgehog.com/llms.txt and write a script that exports last month's reservations and payments to a spreadsheet.
Reading the API reference…

Docs your AI assistant can read

Alongside the human docs, the API publishes llms.txt: a reference written for AI models. Paste one link into ChatGPT, Claude or Cursor and it knows every endpoint, field and webhook.

Let an AI assistant write your integration, even if you don't code.
Give AI agents read-only access to your bookings, or let them book with a key you allow to write.
Read & write

Pull your data, push bookings back

1:1

Each key sees one property only

120/min

Requests per key by default

HMAC

Signed webhooks

Documentation

Everything is public: read the docs before you sign up.

Put your hotel's data to work.

Sign up, create an API key and make your first request in minutes.

Frequently Asked Questions

The API connects other software to your LodgeHog data: send reservations and payments to your accounting system, build dashboards in tools like Looker Studio or Power BI, sync guests to your email marketing, take bookings from your own forms or portals, or trigger automations in Zapier, Make or n8n whenever a booking comes in.

Reservations, guests, rooms, room types and availability. Each reservation comes back whole, with its rooms, guests, extras, payments and computed totals, so one request gives you everything about a stay.

Yes, with a key you create with write access: it can create, change and cancel reservations and block rooms, and every change reaches your calendar and your channels at once. Any other key is read-only, so you can still hand one safely to an accountant, an agency or an AI tool. Bookings from Booking.com, Airbnb and other OTAs belong to the OTA, so for those the API can only check guests in and out.

No. The API checks that every room is free at the moment it writes, against bookings from the front desk, your booking engine and every OTA, and refuses a room that is taken instead of double-booking it.

You register a URL in LodgeHog and we send it the full reservation every time one is created, changed or cancelled. A new payment or extra counts as a change. Several edits made together arrive as one webhook, and failed deliveries are retried for about an hour.

A property administrator creates keys under Your property > API & Webhooks. The key is shown once, only a hash of it is stored, and you can revoke it at any time with immediate effect.

Yes. Besides the interactive reference, the API publishes llms.txt and a full reference written for AI models. Give that link to ChatGPT, Claude or Cursor and they can write an integration for you, or connect to your data directly.

Each key belongs to a single property and can only reach that property's data, and it can only read unless you created it with write access. Keys can be revoked instantly, requests are rate-limited, and every webhook is signed with HMAC-SHA256 so your server can check it really came from us.

Not always. Automation tools like Zapier, Make and n8n can receive webhooks and call REST APIs without code, and AI assistants can write a small integration from our docs. For a custom integration, any developer familiar with REST APIs will feel at home.

API access and webhooks are included in every paid LodgeHog plan. You can try them free for 14 days, no credit card required.

Part of a complete hospitality platform

Every booking from every channel lands in LodgeHog, and from there in your API.

Our plans

Basic, no cost
Property Management System

Free software with all the essential features:

  • Reservation calendar
  • Unlimited reservations and guests
  • Rate plans: automate room pricing
$0/month forever
Sign up at no cost
BEST VALUE
Ultimate Reach
+ Channel Manager & Booking Engine

Sell everywhere and on your own site

  • Sell on Booking.com, Airbnb & 50+ sites
  • Never get double-booked
  • Commission-free website bookings
Starting from $34.90 /month
Start your 14 day free trial

We believe in price transparency. Use our pricing calculator to estimate your subscription fee.