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
- Create a key in the panel under Administration > API and copy it. The key is shown only once.
- Add the "Authorization: Bearer KEY" header to every request.
- Test the key by reading the property details:
curl https://innvoria.com/api/v1/property \
-H "Authorization: Bearer ivk_…"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.
| Access | Allowed |
|---|---|
Read only read | All GET endpoints. |
Read + reservations write | All 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".
{
"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
| Code | HTTP | Meaning |
|---|---|---|
unauthorized | 401 | The key is missing, invalid or revoked. |
subscription_inactive | 402 | The property's subscription is not active. |
plan_required | 403 | The property's plan does not include the API (Ultra is required). |
forbidden | 403 | The key has no write access. |
not_found | 404 | Endpoint or booking not found. |
method_not_allowed | 405 | The endpoint does not support this HTTP method. |
invalid_body | 400 | The request body is not a valid JSON object. |
invalid_parameter | 422 | A field is missing or invalid; "field" tells you which one. |
no_availability | 409 | No free rooms for the selected dates, or the room type is closed to sale. |
invalid_state | 409 | The booking does not allow this action, e.g. the guest has already checked in. |
rate_limited | 429 | The per-minute request limit was exceeded; wait as long as Retry-After says. |
busy | 503 | Too 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.
curl https://innvoria.com/api/v1/property \
-H "Authorization: Bearer ivk_…"{
"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.
curl https://innvoria.com/api/v1/room-types \
-H "Authorization: Bearer ivk_…"{
"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.
curl https://innvoria.com/api/v1/rooms \
-H "Authorization: Bearer ivk_…"{
"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.
curl https://innvoria.com/api/v1/rate-plans \
-H "Authorization: Bearer ivk_…"{
"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
fromdate | Required | First night. |
todate | Required | The day after the last night (not included). |
room_type_idinteger | Optional | Only 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.
curl "https://innvoria.com/api/v1/availability?from=2027-01-04&to=2027-01-06" \
-H "Authorization: Bearer ivk_…"{
"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
fromdate | Required | First night. |
todate | Required | The day after the last night (not included). |
room_type_idinteger | Required | Room type. |
rate_plan_idinteger | Optional | Rate plan; the plan's discount is applied to the price. If omitted, the undiscounted price is returned. |
board_idinteger | Optional | Board type; its per-person charge is added to the price. |
adultsinteger | Optional | Number of adults; if omitted, the room type's base occupancy. |
childreninteger | Optional | Number of children. |
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_…"{
"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, todate | Optional | Bookings whose stay overlaps this range. Send both together. |
statusstring | Optional | Comma-separated statuses, e.g. confirmed,option. |
updated_sincedatetime | Optional | Bookings created or changed after this moment. |
pageinteger | Optional | Page number, starting at 1. |
per_pageinteger | Optional | Records 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.
curl "https://innvoria.com/api/v1/reservations?updated_since=2026-12-05T08:00:00&per_page=100" \
-H "Authorization: Bearer ivk_…"{
"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
codestring | Required | Booking code. |
curl https://innvoria.com/api/v1/reservations/R2611042 \
-H "Authorization: Bearer ivk_…"{
"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_idinteger | Required | Room type. |
arrivaldate | Required | Arrival date. |
departuredate | Required | Departure date. |
adultsinteger | Optional | Number of adults; default 1. |
childreninteger | Optional | Number of children. |
rate_plan_idinteger | Optional | Rate plan. |
board_idinteger | Optional | Board type; its per-person charge is added to the price. |
guest.first_namestring | Required | Guest's first name. |
guest.last_namestring | Required | Guest's last name. |
guest.emailstring | Optional | |
guest.phonestring | Optional | Phone |
guest.nationalitystring | Optional | Two-letter country code (ISO 3166-1), e.g. DE. |
statusstring | Optional | confirmed (default) or option. |
etastring | Optional | Estimated time of arrival, HH:MM. |
channel_namestring | Optional | Name of the channel the booking came from; if omitted, the name of the key. |
voucherstring | Optional | The channel's booking number. |
notestring | Optional | Note, up to 2000 characters. |
langstring | Optional | Guest'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.
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"}
}'{
"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)
reasonstring | Optional | Cancellation 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.
curl -X POST https://innvoria.com/api/v1/reservations/R2611042/cancel \
-H "Authorization: Bearer ivk_…" \
-H "Content-Type: application/json" \
-d '{"reason": "Guest request"}'{
"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.
| Field | Description |
|---|---|
idinteger | Unique number. |
codestring | Booking code, as shown in the panel and to the guest. |
statusstring | option, confirmed, checked_in, checked_out, cancelled or no_show. |
sourcestring | Source of the booking; api for bookings made through the API. |
channel_namestring | Channel or agency name. |
voucherstring | The channel's booking number. |
arrivaldate | Arrival date. |
departuredate | Departure date. |
nightsinteger | Number of nights. |
etastring|null | Estimated time of arrival, HH:MM. |
adultsinteger | Number of adults. |
childreninteger | Number of children. |
room_typeobject | Room type: id, name. |
roomobject|null | Assigned room: id, number. null if no room is assigned. |
rate_planobject|null | Rate plan: id, name. |
boardobject|null | Board type: id, code, name. |
currencystring | Currency (ISO 4217). |
total_amountnumber | Booking amount. |
guest_namestring | Name of the main guest. |
contactobject | Contact details: name, email, phone. |
group_idinteger|null | Group number, if it is a group booking. |
created_atdatetime | Time of creation. |
updated_atdatetime|null | Time of the last change. |
cancelled_atdatetime|null | Time of cancellation. |
notestring | Note. Only in single-booking, create and cancel responses. |
cancel_reasonstring | Cancellation reason. Only in single-booking, create and cancel responses. |
nightlyarray | Night-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.