Developers

Innvoria API

Connect your property's rooms, availability, rates and bookings to your own software. REST and JSON; on the Ultra plan.

Overview

The API gives server-to-server access to the data of one property in Innvoria. Each key belongs to a single property; requests only see that property's data.

The API is available on the Ultra plan. Keys are created in the panel under Administration > API.

Base URL
https://innvoria.com/api/v1
Format
JSON, UTF-8
Version
v1
Calls from a browser
Not supported (no CORS permission); send requests from your server.

Quick start

  1. Create a key in the panel under Administration > API and copy it. The key is shown only once.
  2. Add the "Authorization: Bearer KEY" header to every request.
  3. Test the key by reading the property details:
Example request
curl https://innvoria.com/api/v1/property \
  -H "Authorization: Bearer ivk_…"

API settings in the panel

Authentication

The key is sent in the "Authorization: Bearer KEY" header. Keys start with ivk_. If the key is missing, invalid or revoked, 401 unauthorized is returned.

AccessAllowed
Read only readAll GET endpoints.
Read + reservations writeAll GET endpoints, creating and cancelling bookings.

A property can have up to 10 active keys. A revoked key stops working immediately. Keep keys on your server only; never put them in browser code or a public repository.

Rate limit

Each key can send up to 120 requests per minute. If the limit is exceeded, 429 rate_limited is returned; the Retry-After header tells you how many seconds to wait.

Response format

Successful responses contain "ok": true and a "data" field. List endpoints also return paging information in a "meta" field.

Errors return "ok": false and an "error" object: "code" is a fixed error code and "message" a readable explanation; errors about a field also include "field".

Example response · 422
{
    "ok": false,
    "error": {
        "code": "invalid_parameter",
        "message": "The \"arrival\" field must be a date in YYYY-MM-DD format.",
        "field": "arrival"
    }
}

The language of the error message is taken from the Accept-Language header or the ?lang= parameter; 20 languages are supported and the default is English. Your software should rely on the "code" field, not on the message.

Error codes

CodeHTTPMeaning
unauthorized401The key is missing, invalid or revoked.
subscription_inactive402The property's subscription is not active.
plan_required403The property's plan does not include the API (Ultra is required).
forbidden403The key has no write access.
not_found404Endpoint or booking not found.
method_not_allowed405The endpoint does not support this HTTP method.
invalid_body400The request body is not a valid JSON object.
invalid_parameter422A field is missing or invalid; "field" tells you which one.
no_availability409No free rooms for the selected dates, or the room type is closed to sale.
invalid_state409The booking does not allow this action, e.g. the guest has already checked in.
rate_limited429The per-minute request limit was exceeded; wait as long as Retry-After says.
busy503Too many booking requests arrived at the same time; try again in a few seconds.

Dates, times and amounts

  • Dates use the YYYY-MM-DD format. "departure" is the check-out day; the number of nights is the difference in days between "arrival" and "departure".
  • For endpoints that take a date range, "from" is included and "to" is excluded (like a check-out day); the range can be at most 366 nights.
  • Date-time fields are in the property's time zone; the time zone is given in the "timezone" field of the /property response.
  • Amounts are decimal numbers in the property's currency ("currency") and include VAT.

Endpoints

GET/property

Property details: name, currency, time zone, check-in and check-out times, business date.

Example request
curl https://innvoria.com/api/v1/property \
  -H "Authorization: Bearer ivk_…"
Example response · 200
{
    "ok": true,
    "data": {
        "id": 12,
        "name": "Hotel Am Hafen",
        "currency": "EUR",
        "timezone": "Europe/Istanbul",
        "country": "DE",
        "city": "Hamburg",
        "check_in_time": "14:00",
        "check_out_time": "12:00",
        "business_date": "2026-12-05",
        "api": {
            "version": 1,
            "scope": "read",
            "rate_limit_per_minute": 120
        }
    }
}

GET/room-types

Room types: capacity, base rate, number of rooms.

Example request
curl https://innvoria.com/api/v1/room-types \
  -H "Authorization: Bearer ivk_…"
Example response · 200
{
    "ok": true,
    "data": [
        {
            "id": 1,
            "code": "DLX",
            "name": "Deluxe",
            "description": "",
            "base_occupancy": 2,
            "max_adults": 3,
            "max_children": 2,
            "base_rate": 120,
            "extra_adult": 35,
            "extra_child": 15,
            "rooms": 8
        }
    ]
}

GET/rooms

Rooms: number, type, floor, housekeeping status.

"housekeeping_status" values: clean, dirty, inspected, out_of_order, out_of_service.

Example request
curl https://innvoria.com/api/v1/rooms \
  -H "Authorization: Bearer ivk_…"
Example response · 200
{
    "ok": true,
    "data": [
        {
            "id": 7,
            "number": "204",
            "room_type_id": 1,
            "floor": "2",
            "housekeeping_status": "clean",
            "features": ""
        }
    ]
}

GET/rate-plans

Rate plans and board types.

Example request
curl https://innvoria.com/api/v1/rate-plans \
  -H "Authorization: Bearer ivk_…"
Example response · 200
{
    "ok": true,
    "data": {
        "rate_plans": [
            {
                "id": 1,
                "code": "STD",
                "name": "Standard",
                "is_default": true,
                "discount_pct": 0,
                "min_stay": 1,
                "cancel_policy": ""
            }
        ],
        "boards": [
            {
                "id": 2,
                "code": "BB",
                "name": "Bed & breakfast",
                "price_per_person": 12
            }
        ]
    }
}

GET/availability

Free rooms per room type, day by day, and days closed to sale (up to 366 days).

Parameters

fromdateRequiredFirst night.
todateRequiredThe day after the last night (not included).
room_type_idintegerOptionalOnly this room type.

"available" is the number of free rooms that can be sold that night; rooms closed for maintenance are already deducted. "closed": true means the room type is closed to sale that night.

Example request
curl "https://innvoria.com/api/v1/availability?from=2027-01-04&to=2027-01-06" \
  -H "Authorization: Bearer ivk_…"
Example response · 200
{
    "ok": true,
    "data": [
        {
            "room_type_id": 1,
            "name": "Deluxe",
            "days": [
                {
                    "date": "2027-01-04",
                    "available": 3,
                    "closed": false
                },
                {
                    "date": "2027-01-05",
                    "available": 0,
                    "closed": false
                }
            ]
        }
    ]
}

GET/rates

Nightly prices; optional rate_plan_id, board_id, adults, children.

Parameters

fromdateRequiredFirst night.
todateRequiredThe day after the last night (not included).
room_type_idintegerRequiredRoom type.
rate_plan_idintegerOptionalRate plan; the plan's discount is applied to the price. If omitted, the undiscounted price is returned.
board_idintegerOptionalBoard type; its per-person charge is added to the price.
adultsintegerOptionalNumber of adults; if omitted, the room type's base occupancy.
childrenintegerOptionalNumber of children.
Example request
curl "https://innvoria.com/api/v1/rates?from=2027-01-04&to=2027-01-06&room_type_id=1&board_id=2&adults=2" \
  -H "Authorization: Bearer ivk_…"
Example response · 200
{
    "ok": true,
    "data": {
        "room_type_id": 1,
        "rate_plan_id": null,
        "board_id": 2,
        "adults": 2,
        "children": 0,
        "currency": "EUR",
        "nights": [
            {
                "date": "2027-01-04",
                "price": 144,
                "closed": false
            },
            {
                "date": "2027-01-05",
                "price": 144,
                "closed": false
            }
        ],
        "total": 288
    }
}

GET/reservations

List of reservations; from and to (stays that overlap), status, updated_since, page, per_page (up to 100).

Parameters

from, todateOptionalBookings whose stay overlaps this range. Send both together.
statusstringOptionalComma-separated statuses, e.g. confirmed,option.
updated_sincedatetimeOptionalBookings created or changed after this moment.
pageintegerOptionalPage number, starting at 1.
per_pageintegerOptionalRecords per page: 50 by default, up to 100.

Results are ordered by creation (id). The list response does not include the note, cancellation reason or nightly prices; read the single booking for those.

Example request
curl "https://innvoria.com/api/v1/reservations?updated_since=2026-12-05T08:00:00&per_page=100" \
  -H "Authorization: Bearer ivk_…"
Example response · 200
{
    "ok": true,
    "data": [
        {
            "id": 1042,
            "code": "R2611042",
            "status": "confirmed",
            "source": "api",
            "channel_name": "Website",
            "voucher": "WEB-58213",
            "arrival": "2027-01-04",
            "departure": "2027-01-06",
            "nights": 2,
            "eta": "15:30",
            "adults": 2,
            "children": 0,
            "room_type": {
                "id": 1,
                "name": "Deluxe"
            },
            "room": null,
            "rate_plan": {
                "id": 1,
                "name": "Standard"
            },
            "board": {
                "id": 2,
                "code": "BB",
                "name": "Bed & breakfast"
            },
            "currency": "EUR",
            "total_amount": 240,
            "guest_name": "ADA YILMAZ",
            "contact": {
                "name": "ADA YILMAZ",
                "email": "ada@example.com",
                "phone": "+49 30 1234567"
            },
            "group_id": null,
            "created_at": "2026-12-05 02:48:05",
            "updated_at": null,
            "cancelled_at": null
        }
    ],
    "meta": {
        "page": 1,
        "per_page": 100,
        "total": 1,
        "pages": 1
    }
}

GET/reservations/{code}

A single reservation with its nights and prices.

Path parameter

codestringRequiredBooking code.
Example request
curl https://innvoria.com/api/v1/reservations/R2611042 \
  -H "Authorization: Bearer ivk_…"
Example response · 200
{
    "ok": true,
    "data": {
        "id": 1042,
        "code": "R2611042",
        "status": "confirmed",
        "source": "api",
        "channel_name": "Website",
        "voucher": "WEB-58213",
        "arrival": "2027-01-04",
        "departure": "2027-01-06",
        "nights": 2,
        "eta": "15:30",
        "adults": 2,
        "children": 0,
        "room_type": {
            "id": 1,
            "name": "Deluxe"
        },
        "room": null,
        "rate_plan": {
            "id": 1,
            "name": "Standard"
        },
        "board": {
            "id": 2,
            "code": "BB",
            "name": "Bed & breakfast"
        },
        "currency": "EUR",
        "total_amount": 240,
        "guest_name": "ADA YILMAZ",
        "contact": {
            "name": "ADA YILMAZ",
            "email": "ada@example.com",
            "phone": "+49 30 1234567"
        },
        "group_id": null,
        "created_at": "2026-12-05 02:48:05",
        "updated_at": null,
        "cancelled_at": null,
        "note": "",
        "cancel_reason": "",
        "nightly": [
            {
                "date": "2027-01-04",
                "price": 120
            },
            {
                "date": "2027-01-05",
                "price": 120
            }
        ]
    }
}

POST/reservations

Creates a reservation (write access). Send an Idempotency-Key header so the same request never creates two reservations.

Request body (JSON)

room_type_idintegerRequiredRoom type.
arrivaldateRequiredArrival date.
departuredateRequiredDeparture date.
adultsintegerOptionalNumber of adults; default 1.
childrenintegerOptionalNumber of children.
rate_plan_idintegerOptionalRate plan.
board_idintegerOptionalBoard type; its per-person charge is added to the price.
guest.first_namestringRequiredGuest's first name.
guest.last_namestringRequiredGuest's last name.
guest.emailstringOptionalEmail
guest.phonestringOptionalPhone
guest.nationalitystringOptionalTwo-letter country code (ISO 3166-1), e.g. DE.
statusstringOptionalconfirmed (default) or option.
etastringOptionalEstimated time of arrival, HH:MM.
channel_namestringOptionalName of the channel the booking came from; if omitted, the name of the key.
voucherstringOptionalThe channel's booking number.
notestringOptionalNote, up to 2000 characters.
langstringOptionalGuest's language, e.g. en or de.

A successful creation returns 201. The price is calculated in Innvoria from the property's rate rules; the room is assigned at the front desk.

Idempotency-Key header: a unique value of up to 80 characters (e.g. your order number). A repeated request with the same key and value does not create a new booking; the first booking is returned with the "Idempotent-Replayed: true" header.

If there are no free rooms for the selected dates, 409 no_availability is returned. Simultaneous requests are processed one at a time, so the last room is never sold twice.

Example request
curl -X POST https://innvoria.com/api/v1/reservations \
  -H "Authorization: Bearer ivk_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-58213" \
  -d '{
    "room_type_id": 1,
    "arrival": "2027-01-04",
    "departure": "2027-01-06",
    "adults": 2,
    "board_id": 2,
    "voucher": "WEB-58213",
    "guest": {"first_name": "Ada", "last_name": "Yilmaz", "email": "ada@example.com", "nationality": "DE"}
  }'
Example response · 201
{
    "ok": true,
    "data": {
        "id": 1042,
        "code": "R2611042",
        "status": "confirmed",
        "source": "api",
        "channel_name": "Website",
        "voucher": "WEB-58213",
        "arrival": "2027-01-04",
        "departure": "2027-01-06",
        "nights": 2,
        "eta": "15:30",
        "adults": 2,
        "children": 0,
        "room_type": {
            "id": 1,
            "name": "Deluxe"
        },
        "room": null,
        "rate_plan": {
            "id": 1,
            "name": "Standard"
        },
        "board": {
            "id": 2,
            "code": "BB",
            "name": "Bed & breakfast"
        },
        "currency": "EUR",
        "total_amount": 240,
        "guest_name": "ADA YILMAZ",
        "contact": {
            "name": "ADA YILMAZ",
            "email": "ada@example.com",
            "phone": "+49 30 1234567"
        },
        "group_id": null,
        "created_at": "2026-12-05 02:48:05",
        "updated_at": null,
        "cancelled_at": null,
        "note": "",
        "cancel_reason": "",
        "nightly": [
            {
                "date": "2027-01-04",
                "price": 120
            },
            {
                "date": "2027-01-05",
                "price": 120
            }
        ]
    }
}

POST/reservations/{code}/cancel

Cancels a reservation whose guest has not arrived (write access); optional reason.

Request body (JSON)

reasonstringOptionalCancellation reason, up to 200 characters.

Only bookings with the status option or confirmed can be cancelled; otherwise 409 invalid_state is returned. A booking that is already cancelled returns the same response, so the request is safe to repeat.

Example request
curl -X POST https://innvoria.com/api/v1/reservations/R2611042/cancel \
  -H "Authorization: Bearer ivk_…" \
  -H "Content-Type: application/json" \
  -d '{"reason": "Guest request"}'
Example response · 200
{
    "ok": true,
    "data": {
        "id": 1042,
        "code": "R2611042",
        "status": "cancelled",
        "source": "api",
        "channel_name": "Website",
        "voucher": "WEB-58213",
        "arrival": "2027-01-04",
        "departure": "2027-01-06",
        "nights": 2,
        "eta": "15:30",
        "adults": 2,
        "children": 0,
        "room_type": {
            "id": 1,
            "name": "Deluxe"
        },
        "room": null,
        "rate_plan": {
            "id": 1,
            "name": "Standard"
        },
        "board": {
            "id": 2,
            "code": "BB",
            "name": "Bed & breakfast"
        },
        "currency": "EUR",
        "total_amount": 240,
        "guest_name": "ADA YILMAZ",
        "contact": {
            "name": "ADA YILMAZ",
            "email": "ada@example.com",
            "phone": "+49 30 1234567"
        },
        "group_id": null,
        "created_at": "2026-12-05 02:48:05",
        "updated_at": "2026-12-05 02:48:05",
        "cancelled_at": "2026-12-05 02:48:05",
        "note": "",
        "cancel_reason": "API: Guest request",
        "nightly": [
            {
                "date": "2027-01-04",
                "price": 120
            },
            {
                "date": "2027-01-05",
                "price": 120
            }
        ]
    }
}

Booking object

The booking endpoints return the fields below.

FieldDescription
idintegerUnique number.
codestringBooking code, as shown in the panel and to the guest.
statusstringoption, confirmed, checked_in, checked_out, cancelled or no_show.
sourcestringSource of the booking; api for bookings made through the API.
channel_namestringChannel or agency name.
voucherstringThe channel's booking number.
arrivaldateArrival date.
departuredateDeparture date.
nightsintegerNumber of nights.
etastring|nullEstimated time of arrival, HH:MM.
adultsintegerNumber of adults.
childrenintegerNumber of children.
room_typeobjectRoom type: id, name.
roomobject|nullAssigned room: id, number. null if no room is assigned.
rate_planobject|nullRate plan: id, name.
boardobject|nullBoard type: id, code, name.
currencystringCurrency (ISO 4217).
total_amountnumberBooking amount.
guest_namestringName of the main guest.
contactobjectContact details: name, email, phone.
group_idinteger|nullGroup number, if it is a group booking.
created_atdatetimeTime of creation.
updated_atdatetime|nullTime of the last change.
cancelled_atdatetime|nullTime of cancellation.
notestringNote. Only in single-booking, create and cancel responses.
cancel_reasonstringCancellation reason. Only in single-booking, create and cancel responses.
nightlyarrayNight-by-night prices: date, price. Only in single-booking, create and cancel responses.

Recommended sync

There are no instant notifications (webhooks) at the moment. To pick up changes, query the /reservations endpoint with updated_since at regular intervals and store the time of the last successful query.

Read availability for the coming days more often and for distant dates less often; spread requests over time to stay within the per-minute limit.

Support

For questions, write to info@innvoria.com.