# Lodgehog PMS API > REST API for a hotel property management system. Lets an integration pull > reservations (with their room lines, guests, folio charges and payments), > guests, rooms, availability, nightly rates and stay quotes for one property, create, change and cancel > reservations, record payments and charges on them, edit guests, set room statuses, block rooms and change rates, and receive signed webhooks when a reservation > is created, changed or cancelled. Authentication is a per-property API key sent as `Authorization: Bearer lh_live_...`. Keys are created by a property administrator under Property settings > API & Webhooks. Every key reads. Writing needs a key created with write access; a read-only key gets 403. ## Docs - [OpenAPI schema (YAML)](https://api.lodgehog.com/v1/schema/): the machine-readable contract. Start here. - [OpenAPI schema (JSON)](https://api.lodgehog.com/v1/schema/?format=json): the same document as JSON. - [Interactive reference](https://api.lodgehog.com/v1/docs/): Swagger UI over the schema. - [Full reference](https://api.lodgehog.com/llms-full.txt): every endpoint, filter, error and the webhook contract, in one file. ## Endpoints - [Reservations](https://api.lodgehog.com/v1/reservations/): a property's reservations, newest first, each one whole. - [Reservation detail](https://api.lodgehog.com/v1/reservations/{id}/): one reservation, including cancelled ones. - [Create a reservation](https://api.lodgehog.com/v1/reservations/): POST, with an Idempotency-Key header. Write access. - [Change or cancel a reservation](https://api.lodgehog.com/v1/reservations/{id}/): PATCH, with If-Match: . Write access; a travel site's reservation only takes a status. - [Payments](https://api.lodgehog.com/v1/reservations/{id}/payments/): a reservation's payments. POST to record money received (or send `payments` when creating the reservation), PATCH/DELETE /v1/reservations/{id}/payments/{payment_id}/ to correct one. Writes need write access. - [Charges](https://api.lodgehog.com/v1/reservations/{id}/charges/): a reservation's folio charges. POST to bill an extra (breakfast, parking), PATCH/DELETE /v1/reservations/{id}/charges/{charge_id}/ to correct one. Writes need write access. - [Deductions](https://api.lodgehog.com/v1/reservations/{id}/deductions/): what comes off a stay's revenue (OTA and co-host commissions, taxes, damages, cancellation fees). POST to record one, PATCH/DELETE /v1/reservations/{id}/deductions/{deduction_id}/ to correct one. Writes need write access. - [Items](https://api.lodgehog.com/v1/items/): what the property sells on the folio, for the item_id of a charge. - [Accounts](https://api.lodgehog.com/v1/accounts/): where the property's money goes, for the account_id of a payment. - [Blocks](https://api.lodgehog.com/v1/blocks/): POST to take a room off sale, DELETE /v1/blocks/{id}/ to put it back. Write access. - [Guests](https://api.lodgehog.com/v1/guests/): the property's guest records. POST to add one (an existing match is returned instead), PATCH /v1/guests/{id}/ with If-Match to change one. Writes need write access. - [Rooms](https://api.lodgehog.com/v1/rooms/): rooms and their housekeeping status. PATCH /v1/rooms/{id}/ to mark one clean, dirty, inspected or out of service. Write access. - [Room categories](https://api.lodgehog.com/v1/room-categories/): room categories. - [Rate plans](https://api.lodgehog.com/v1/rate-plans/): rate plans per room category, for the rate_plan_id a reservation is priced from. - [Availability](https://api.lodgehog.com/v1/availability/): rooms left to sell per category and night, as pushed to the sales channels. - [Quote](https://api.lodgehog.com/v1/quote/): what a stay costs for a party - free rooms per category and each rate plan's total with taxes, or why it can't sell. - [Rates](https://api.lodgehog.com/v1/rates/): each rate plan's price and restrictions (minimum stay, stop-sell, closed to arrival/departure) per night. POST to change them for ranges of nights, as a revenue-management tool would. Write access. - [Property](https://api.lodgehog.com/v1/property/): the property itself - contact details, check-in/out times, timezone, currency, policies, booking website. ## Optional - [Webhooks](https://api.lodgehog.com/llms-full.txt): delivery envelope, retry behaviour and HMAC signature verification, in the full reference.