Developers
The public API of Galaxy Hotel Cloud: connect your booking engine, channel manager, POS or door-lock system to a property in a few steps.
Getting started
- 1
Ask the hotel for a key
The hotelier creates it in Settings → Marketplace → “Public API and webhooks”, chooses what it may do (read only, reservations, folios…) and hands it to you. A key is valid for one property.
- 2
Try the key
Call GET /v1/me: it answers with the property and the permissions of the key. From there, room types, rooms, rates and availability.
- 3
Book and listen
Create reservations with your own reference (external_ref), charge the folio, place guests in rooms and follow what happens through the event log.
What you can do
Availability and prices
Free rooms by type and night, rate plans and quotes computed by the rate engine of the PMS.
Reservations
Create, change, confirm, cancel; assign rooms; check-in and check-out; guests in rooms with the data the authorities ask for.
Folios
Read the folios of a reservation and charge items: what a POS does when a guest signs the bill to the room.
Events and webhooks
Reservations created, check-ins, check-outs and cancellations in order, read with a cursor or pushed to your address by signed webhooks.
The first call
curl https://api.galaxy-hotel.net/v1/me \
-H "Authorization: Bearer gh_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
{
"key": { "name": "Booking engine", "scopes": ["availability:read", "reservations:write"] },
"property": { "id": 1, "code": "p1", "name": "Hotel Bella Vista" },
"account": { "name": "Bella Vista srl", "plan": "subscription" }
}
curl "https://api.galaxy-hotel.net/v1/availability?from=2026-10-01&to=2026-10-04" \
-H "Authorization: Bearer gh_live_…"
curl -X POST https://api.galaxy-hotel.net/v1/reservations \
-H "Authorization: Bearer gh_live_…" -H "Content-Type: application/json" \
-H "Idempotency-Key: be-2026-000123" \
-d '{ "external_ref": "BE-2026-000123", "status": "confirmed",
"new_party": { "first_name": "Maria", "last_name": "Rossi", "email": "maria@example.com" },
"rooms": [{ "room_type_id": 2, "arrival": "2026-10-01", "departure": "2026-10-04", "adults": 2 }] }'The rules in short
- Key in the Authorization: Bearer header; one key per property, with the permissions (scopes) chosen by the hotel.
- JSON, dates YYYY-MM-DD with the departure excluded, decimal amounts in euro, errors with a stable code and a readable message.
- 600 calls a minute per key. Idempotency-Key on writes to repeat a call without double effects; external_ref unique per property on reservations.
- The version is in the path (/v1): fields are added, never removed or renamed.
Test environment
A shared environment with sample data, reset every night at 04:00 (Italian time): use this key to try the calls without signing up.
- Address
https://api.galaxy-hotel.net/v1- Test key
gh_test_3danuvy9ll0n3joxhio85kofxwc
- · The key has every permission and is the same for everyone: what you write is seen by others and disappears at the reset.
- · No login to the app and no e-mail leaves the sandbox; the webhooks subscribed are removed every night.
- · For an environment of your own there is the 30-day free trial: sign up, switch the API on from the Marketplace and create a key.
Need help?
Write to support@galaxy-hotel.net with the operation, the error code and the time of the call: calls are tracked per key.
Changelog
- September 2026 · First release: property, availability, quotes, reservations, guests, folios, events and webhooks.