EN
ES EspañolEN EnglishFR FrançaisDE DeutschIT ItalianoPT PortuguêsCA CatalàRU РусскийNL Nederlands
HotelGEX Developers

Connect your technology to HotelGEX

API, AI-assisted integration and a secure test environment to build connected hotel solutions.

Open standards
Test environment
Technical support
HotelGEX API
> GET /api/v1/ping
Authorization: Bearer hgxk_test_…

200 OK
{
  "hotel": "Hotel de pruebas",
  "key": "Mi integración",
  "scopes": ["setup:read",
     "bookings:write", "ari:read"]
}
REST API v1Available
MCPAvailable
SandboxFor partners

Choose how to integrate

Different ways to connect, to fit your solution, use case and roadmap. All of them work on the hotel's same inventory, rates and bookings.

REST API v1

Available

Direct integration with hotel data: setup, bookings, availability and rates in JSON. For PMSs, apps, OTAs and integrators.

Channex Open Channel

In certification

Connection with channel managers through Channex: HotelGEX appears as just another channel to exchange availability, prices, restrictions and bookings.

OTA XML

Coming soon

Integration through OpenTravel (OTA) messages for distribution and booking management. We are opening pilots with partners.

OTAs and distribution partners

Sell the inventory of HotelGEX hotels

If you are an OTA, a bedbank, a wholesaler or a B2B or B2C channel, you can receive availability and prices from hotels using HotelGEX and send them bookings, with the same inventory as every other channel.

Available

Distribution Hub

HotelGEX hotels already distribute on more than 70 channels.

  • Booking.com, Expedia, Airbnb and Google Hotels
  • Bedbanks, wholesalers and B2B channels
  • If your channel is already connected, the hotel just has to switch it on
Available

Direct connection via REST API v1

«OTA or direct channel» profile with its own sandbox.

  • Availability and prices by day, room type and rate: GET /ari
  • Idempotent bookings by your reference: PUT /bookings/{ref}
  • Cancellations: POST /bookings/{ref}/cancel
Coming soon

Connection via OTA XML

For channels that already work with the OpenTravel standard.

  • Push availability, restrictions and prices
  • Bookings, modifications and cancellations
  • Pilots with partners: write to us
One single inventory. Your bookings come out of the same allocation as the booking engine, the PMS and every other channel.
No stored cards. The guarantee is tokenised or prepaid.
Every booking with its channel. The hotel sees your production by actual channel in its reports.

Integrate with the help of your AI

Use our MCP (Model Context Protocol) to search the documentation, validate payloads and, if you are a partner, run tests in your test hotel.

MCP documentation

Open to everyone, no account needed: search the documentation, ask for examples in curl, PHP, Node, Python or C# and validate JSON and OTA XML.

https://app.hotelgex.es/mcp/docs

The sandbox with login is for partners: the address comes in your invitation.

Claude
  1. Settings → Connectors → Add custom connector.
  2. Paste the URL and save.
ChatGPT
  1. Settings → Apps & connectors → developer mode.
  2. Create a connector with the URL.
Claude Code, Cursor or VS Code
claude mcp add --transport http hotelgex https://app.hotelgex.es/mcp/docs
In Cursor or VS Code, add the URL as an HTTP MCP server.

From zero to your first request

Connect your application to HotelGEX in four simple steps.

1
Get accessRequest your integration keys.
2
ConectaSet up the base URL and authentication.
3
TestMake your calls in the test hotel.
4
IntegrateBuild and validate your use case.
Example: first request
curl https://app.hotelgex.es/api/v1/ping \
  -H "Authorization: Bearer hgxk_test_…"

200 OK · hotel, clave y permisos

Developer Center

All the documentation and resources to integrate your solution with HotelGEX.

One data model.
One authority per domain

Integrate your technology with a common data model and clear rules on who is in charge of availability and prices (ARI) at each hotel.

No inventory or rate conflicts

Each hotel has a single ARI owner: its channel manager or HotelGEX. That way two systems never overwrite each other's prices and the data stays consistent.

Security, capacity and roadmap

240requests per minute per key in production (sandbox: 60/min).
Keys per hotelIsolated access with permissions by scope.
IdempotencyRepeating a call never duplicates bookings.
A single ARI ownerSystems never overwrite each other.
Signed webhooksComing soon
ARI writeComing soon
Documentation

REST API v1

Base https://app.hotelgex.es/api/v1 · JSON · dates AAAA-MM-DD. The OpenAPI specification and full examples are in the MCP (tool api_referencia).

Authentication and permissions

Each hotel has its own secret keys (hgxk_…), with permissions by scope: setup:read, setup:write, bookings:read, bookings:write and ari:read. They are created by the HotelGEX team and shown only once. Test keys (hgxk_test_…) only open the sandbox.

Authorization: Bearer hgxk_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Endpoints

Method and pathWhat it does
GET /pingChecks the connection: hotel, key name and permissions.
GET /setupCodes for room types, rooms and rates used by bookings and ARI.
GET /setup/templateSheets and columns accepted for loading the setup.
POST /setup/previewPreview without writing anything; returns a summary and a token valid for 2 hours.
POST /setup/applyApplies the preview, all or nothing. An empty cell never deletes anything.
PUT /bookings/{ref}Idempotent creation or update by your reference. 201 if created, 200 if updated.
POST /bookings/{ref}/cancelCancels the booking (idempotent).
GET /bookings/{ref}Look up by your reference or by the HotelGEX booking code.
GET /bookings?changed_since=All the hotel's bookings sorted by last modification, for syncing (maximum 200 per page).
GET /ari?from=&to=Availability and price per day, room type and rate (maximum 92 days).

Bookings and sync

PUT https://app.hotelgex.es/api/v1/bookings/EXP-123456
{
  "status": "confirmed",
  "arrival_date": "2026-12-15",
  "departure_date": "2026-12-17",
  "adults": 2, "children": 0,
  "guest": {"first_name": "Ana", "last_name": "García", "email": "ana@example.com", "language": "es"},
  "room_type": "DBL", "rate_plan": "BAR", "room_number": "101",
  "total_amount": 240.00, "currency": "EUR",
  "channel": "Expedia", "notes": "Llegada tarde"
}

Required: dates, guest.last_name, room_type and total_amount. The API only modifies the bookings it created itself; those from the booking engine, OTAs or the PMS return 409 not_owned. To sync, call GET /bookings?changed_since= with the meta.next_changed_since value from the previous response: it includes bookings from all of the hotel's sources.

ARI and rates

GET /ari?from=&to= returns availability and price by day, room type and rate, up to 92 days per call. Coming soon: ARI write, only at hotels where HotelGEX owns the prices.

Sandbox

Each partner has its own test hotel, isolated from real hotels: hgxk_test_ keys, sample data, real API calls and an error log, also from the MCP. It comes with the partner invitation, free of charge: request access.

Errors and limits

Format: {"error": {"code": "...", "message": "...", "details": {...}}} with 401 (missing or invalid key), 403 (no permission), 404, 409 (for example not_owned) or 422 (invalid data). Limits: 240 requests per minute per key in production; in the sandbox, 60 per minute and 5,000 per day per partner. Recommendation: retry with exponential backoff and sync with changed_since rather than reading booking by booking.

Channex Open Channel In certification

The hotel can keep managing prices and allocations in its channel manager. HotelGEX connects as just another channel: it receives availability, prices and restrictions, and sends back bookings from the booking engine, Concierge and Journey. The hotel adds the «Open Channel» channel in its Channex account with these details:

FieldValue
Base URLhttps://app.hotelgex.es/api/channex-oc/
Hotel CodeEach hotel's own code (shown in HotelGEX → Integrations).
API keyThe hotel's Open Channel key, in the api-key header.

Supported messages: test_connection, mapping_details and changes (availability, prices, closed, CTA, CTD, minimum and maximum stay). HotelGEX sends Channex new, modified and cancelled bookings.

OTA XML Coming soon

For channel managers and channels that work with OpenTravel messages. We are preparing it with pilot partners:

DirectionMessages
To HotelGEXOTA_HotelAvailNotifRQ (availability and restrictions) and OTA_HotelRateAmountNotifRQ (rates)
From HotelGEXOTA_HotelResNotifRQ (bookings)

You can already validate your OTA XML messages with the MCP (tool validar_ota_xml). If you want to be a pilot, write to us.

Build with us

Free programme for technology partners: integrate your solution, certify your connection and access new opportunities with HotelGEX hotels.

Request partner access

How to get started

From first contact to integration in production.

Request
access
Test in the
sandbox
Validate the
integration
Go live
and scale

Request developer access

Thank you. We have received your request and will write to you soon with your access.
Please check the required fields and the privacy box.