Centra/Docs
Browse documentation
PMS
Integration base URL bridge.centra.global

Retrieve reservations

Read undelivered reservations, then acknowledge each message after your PMS has stored it. Use undelivered=false when paging historical results.

Bridge endpoint #

GET/api/v2/apps/reservations

Data direction: PMS → Centra Bridge

Authentication #

Query credentials: hr_id and token. X-Bridge-Token is not supported by this middleware.

Required and optional fields #

FieldRequirementMeaning
hr_idRequired · queryYour Centra-issued CRH ID. Keep the HotelRunner wire name hr_id.
tokenRequired · queryYour Centra-issued token. URL-encode credentials and redact request URLs from logs.
from_date, from_last_update_dateOptional · queryYYYY-MM-DD creation/update filters. from_date defaults to 10 days prior; maximum 30 days back.
per_page, pageOptional · queryper_page 1–100, default 10; page ≥1, default 1. Page applies to undelivered=false.
reservation_numberOptional · queryLookup by HotelRunner or channel reservation number.
undelivered, modified, bookedOptional · querytrue/false strings. Defaults: true, false, false respectively.

Synthetic request #

All identifiers, tokens and guest details below are invented. These samples are reference text; the docs never send API requests.

Request http
GET /api/v2/apps/reservations?hr_id=SYNTHETIC-CRH-ID&token=SYNTHETIC-NOT-A-VALID-TOKEN&undelivered=true&per_page=10

Success response #

Response · HTTP 200 json
{
  "reservations": [
    {
      "hr_number": "SYNTHETIC-RES-001",
      "provider_number": null,
      "channel": "online",
      "channel_display": "Online",
      "state": "reserved",
      "modified": false,
      "guest": "Example Guest",
      "cancel_reason": null,
      "completed_at": "2026-11-01T10:00:00Z",
      "updated_at": "2026-11-01T10:00:00Z",
      "sub_total": 120,
      "extras_total": 0,
      "adjustments_total": 0,
      "tax_total": 0,
      "total": 120,
      "currency": "EUR",
      "checkin_date": "2026-11-10",
      "checkout_date": "2026-11-11",
      "note": null,
      "payment": "cash",
      "paid_amount": 0,
      "requires_response": true,
      "address": {
        "city": "Example City",
        "state": "",
        "country": "Morocco",
        "country_code": "MA",
        "phone": "",
        "email": "guest@example.invalid",
        "street": "",
        "street_2": null
      },
      "rooms": [
        {
          "state": "reserved",
          "rate_code": "HR:SYNTHETIC-RATE",
          "inv_code": "HR:SYNTHETIC-ROOM",
          "non_refundable": false,
          "price": 120,
          "nights": 1,
          "total_guest": 2,
          "total_adult": 2,
          "child_ages": [],
          "name": "Example Double",
          "checkin_date": "2026-11-10",
          "checkout_date": "2026-11-11",
          "extra_info": "",
          "daily_prices": [
            {
              "date": "2026-11-10",
              "price": "120.0"
            }
          ],
          "extras": []
        }
      ],
      "message_uid": "SYNTHETIC-MESSAGE-001"
    }
  ],
  "count": 1,
  "current_page": 1,
  "pages": 1
}

Errors and acknowledgement #

400 invalid input or missing hr_id; 401 missing/invalid token; 403 credential/ID mismatch; 404 missing integration; 429 rate limit; 500 processing failure. Authentication errors use {status:1,message}; validation and processing errors may use other shapes—see the example and shared error guide.

Error response example json
{
  "status": 1,
  "message": "Invalid credentials"
}

Shared authentication and response handling