Get the bookings changed since an instant

RMS

get/api/integrations/{pcode}/rms/booking-changesx-api-key

What changed since you last asked. Every booking whose row changed at or after since — created, edited, moved, cancelled — oldest change first, 50 per page. The first call fixes a window, from since to until (the moment it was answered), and every page of it answers that same until. While nextCursor is not null, call again with cursor=<nextCursor> (since is ignored then); once it is null, wait and poll again with since=<until>. It is null on a page with fewer than 50 bookings: a last page of exactly 50 still carries a cursor, and the page it leads to comes empty. Send since with its zone; a value without one is read as UTC, and a bare date as that day's midnight in UTC. A booking that changes while you page leaves the window and comes in your next poll, so nothing is skipped. Changes are compared to the second, so a booking changed in the same second as until comes again in the next poll: keep the latest version of each booking by its id. A cursor that was not issued by the feed is refused with 400 bookingChangesCursorInvalid: start again from your last until. A change to something hanging off a booking that does not touch the booking itself (a payment, an edit of the guest record) does not bring it back. Cancelled bookings come too: a cancellation is a change. Each item carries what an RMS reads of a booking: its status, channel, dates and nights, room type and room, guests counted by age, board, policy and rate, and its amounts. It carries no personal data beyond the holder's country, nationality and language: no name, contact, identity document, notes, guest list, to-dos or company.

Console

Runs against the API from your browser, with the same request your server will send.

Environment

Production

https://uni-api.hotelgest.com

Calls hit live data with your own API key. A POST, PUT, PATCH or DELETE here changes a real property.

Credentials

The API key, sent on every request. A property admin creates it in the PMS under Settings → API keys; a partner receives one per property when the property activates its integration. It works only for the property it was issued for, and only on the endpoints granted to it.

This endpoint needs a credential. Without it you will get a 401.

Stored in this browser only. Never sent anywhere but the API host above.

Path parameters

Query parameters

gethttps://uni-api.hotelgest.com/api/integrations/123456/rms/booking-changes

Send the request to see the real response here.

Nothing is mocked. What comes back is what the API returned.

Requests go straight from your browser to the API host above — nothing is proxied through this site.

Path parameters

pcode
number

Property code. Identifies the property (hotel, apartment building, hostel) the request applies to. It must match the property your API key was issued for.

Query parameters

since
string

An instant with its time and zone (ISO 8601): the bookings whose row changed at or after it. On the first poll, the moment you start; after that, the until of your last poll. Without a zone it is read as UTC, and a bare date (2026-10-15) as that day’s midnight in UTC. Required unless cursor is sent; ignored when it is

cursor
string

The nextCursor of the previous page, as it came. It carries the window of the first page, so since is ignored with it. A cursor that was not issued by this feed is refused with 400 bookingChangesCursorInvalid

Responses

Ok. If your API key answers encrypted — every key issued now does, and every partner credential — this body arrives as the encryption envelope ({ crypto, protected, wrappedKey, iv, payload, tag }, a compact JWE), and the schema below is what its payload decrypts to. See https://public-api.hotelgest.com/public/guides/encryption

RmsBookingChangeDto[]

The bookings changed in the window, oldest change first, 50 per page

until
string

The end of the window, ISO in UTC, fixed by the first page and the same on every page of it. Once nextCursor is null, it is the since of your next poll

nextCursor
string

Pass it as cursor to read the next page of the same window. null when this page came with fewer than 50 bookings; a last page of exactly 50 still carries a cursor, and the page it leads to comes empty with null

Example response
1{
2 "data": [
3 {
4 "id": 52341,
5 "pcode": 114,
6 "locator": "4417230981",
7 "groupId": 52340,
8 "start": "2026-11-05",
9 "end": "2026-11-07",
10 "nights": 2,
11 "createdAt": "2026-10-01",
12 "bookingStatus": "ready",
13 "releaseDateTentative": "2026-10-03 12:00",
14 "board": "bb",
15 "policy": "4",
16 "bookedRate": null,
17 "price": 240,
18 "accommodationPrice": 220,
19 "paid": 100,
20 "totalExtras": 20,
21 "canceledCost": 0,
22 "room": {
23 "id": 345,
24 "roomTypeId": 101,
25 "originalRoomTypeId": 101,
26 "roomTypeName": "Double room"
27 },
28 "occupancy": {
29 "total": 2,
30 "adults": 2,
31 "children": 0,
32 "babies": 0
33 },
34 "otaId": 9,
35 "otaName": "Booking.com",
36 "isSaleDirect": false,
37 "customer": {
38 "country": "ES",
39 "nationality": "ES",
40 "language": "en"
41 },
42 "lastModified": "2026-10-15T08:59:12.000Z"
43 }
44 ],
45 "until": "2026-10-15T09:00:00.000Z",
46 "nextCursor": "eyJ2IjoxLCJzIjoiMjAyNi0xMC0xNVQwODowMDowMC4wMDBaIn0"
47}

What is a pcode?

The property code. Every endpoint is scoped to one property, and your API key only works for the property it was issued for.

Rate limits

100 requests per minute per source IP, 120 per API key and 300 per property, each counted across every endpoint together — not per endpoint. Over any of them you get a 429 with the seconds to wait in Retry-After-<limit> (apikey-ip, apikey or apikey-pcode): stop and wait it out. Repeat offences on a key or a property are blocked for longer each time, up to 7 days.