Moveguide Connect API

Connect your hotel's own system — a property management system, a channel manager or your own software — to Moveguide. It sends us availability, room counts, prices and minimum stays the moment they change; we send it every booking the moment it happens.

How it works

  • Your system → Moveguide. Call the API whenever rooms, prices or minimum stays change. Guests on Moveguide are only offered what you've marked as available.
  • Moveguide → your system. We send a webhook for every booking event: made, approved, declined, paid and cancelled. Your system then removes the room from its other channels immediately.
  • Catching up. If your system was down, list the bookings changed since a given time to get back in sync.

Connect works per room type, with actual room counts, unlike calendar links, which only show busy or free. A listing connected this way can still use Calendar sync and your own blocks in the dashboard: guests are always offered the lowest availability among them.

Getting started

  • In the dashboard, open Settings → Connect and create an API key. It's shown only once, so copy it immediately.
  • Add a webhook: the HTTPS address on your system where we send bookings. Note its signing secret.
  • Match your rooms: either enter your system's own codes in Settings → Connect → Your codes (and on each rate plan) and use them in every call, or call GET /listings and keep Moveguide's ids in your system.
  • Send your availability for the months ahead, then send changes as they happen.

All calls go to https://host.moveguide.co/api/connect/v1, send and receive JSON, and must include your key:

Authorization: Bearer mgc_live_…

Each key can make up to 120 calls a minute. Beyond that, the API returns 429 with a Retry-After header. Errors look like this:

{ "error": { "code": "invalid", "message": "updates[0].available is a whole number, 0 or more." } }

Listings

GET /listings

{
  "listings": [
    {
      "id": "8f3c…",
      "code": "EKOBAY",
      "title": "Eko Bay Hotel",
      "type": "hotel",
      "status": "live",
      "currency": "NGN",
      "price": 90000,
      "roomTypes": [ { "id": "rt_deluxe", "code": "DLX", "name": "Deluxe", "count": 30 } ],
      "ratePlans": [
        { "id": "standard", "code": null, "name": "Standard rate", "mealPlan": "room_only", "adjustPercent": 0, "roomTypeIds": null, "active": true },
        { "id": "5b7e…", "code": "BB", "name": "With breakfast", "mealPlan": "breakfast", "adjustPercent": 0, "roomTypeIds": null, "active": true }
      ]
    }
  ]
}

A listing without room types (a shortlet booked as a whole) has an empty roomTypes; omit roomTypeId for that listing.

To send a stay that isn't on Moveguide yet, use POST /listings: it waits in the host's Imported listings for them to complete. See Connect your platform.

Every listing has the standard rate plan: the usual price, room only, the listing's own cancellation policy. Hosts can add other plans on each listing (with breakfast, a different cancellation policy and so on); each follows the standard price by adjustPercent, unless you send it its own price. Wherever a call names a listing, room type or rate plan, use Moveguide's id or your own code.

Sending availability and prices

Send ranges of nights. from is the first night and to is the night after the last (a check-out date). Only the fields you send are updated.

PUT /listings/{listingId or code}/availability

{
  "updates": [
    { "roomTypeId": "rt_deluxe", "from": "2026-12-01", "to": "2026-12-24", "available": 8, "price": 95000 },
    { "roomTypeId": "rt_deluxe", "from": "2026-12-24", "to": "2026-12-27", "available": 2, "price": 140000, "minNights": 2 },
    { "roomTypeId": "DLX", "ratePlanId": "BB", "from": "2026-12-01", "to": "2026-12-24", "price": 109000 },
    { "from": "2026-12-31", "to": "2027-01-01", "closed": true }
  ]
}

→ { "updated": 27, "requestsClosed": 0 }
FieldDescription
roomTypeIdThe room type: its id or your code. Omit it for a listing without room types, or when sending closed or minNights for the whole stay.
ratePlanIdOptional. A rate plan: its id or your code. With a rate plan other than standard, only price can be set: that plan's own price, or null to return to its percentage. Rooms, minimum stays and closing are set for the room, without a rate plan.
availableThe number of rooms of this type left to sell on Moveguide each night. 0 means none are sold. Moveguide bookings made after you send it are deducted from it until you send a new value.
priceThe price per night in your currency (naira, US dollars or British pounds; set in Settings → Payments → Currency). This is your price, before Moveguide's charges to the guest.
minNightsThe shortest stay that can start that night.
closedtrue stops all sales those nights; false opens them again.
nullAny field set to null reverts to the listing's own setting in the dashboard.

Each call can include up to 100 updates and 5,000 nights, from today up to two years ahead. Updates are applied in order, so where two overlap, the later one takes precedence.

A request still awaiting the host's answer closes if you leave no rooms available on its nights: we notify the guest and send you booking.cancelled for it. requestsClosed gives the number of requests closed. When two requests need the last room, the earlier one keeps it.

To see what Moveguide holds (what you sent, and the rooms Moveguide guests hold each night):

GET /listings/{listingId or code}/availability?from=2026-12-01&to=2027-01-01

Bookings

GET /bookings?updatedSince=2026-11-01T00:00:00Z&listingId=8f3c…&limit=50
GET /bookings/{bookingId}

{
  "booking": {
    "id": "b2a1…",
    "listingId": "8f3c…",
    "listingCode": "EKOBAY",
    "roomTypeId": "rt_deluxe",
    "roomTypeCode": "DLX",
    "ratePlanId": "5b7e…",
    "ratePlanCode": "BB",
    "ratePlanName": "With breakfast",
    "mealPlan": "breakfast",
    "checkIn": "2026-12-10",
    "checkOut": "2026-12-13",
    "nights": 3,
    "rooms": 2,
    "guests": 4,
    "guestFirstName": "Ada",
    "status": "approved",
    "paid": true,
    "payByAt": null,
    "currency": "NGN",
    "hostPayout": 513000,
    "createdAt": "2026-11-02T09:14:00Z",
    "updatedAt": "2026-11-02T09:41:00Z"
  }
}
statusDescription
pendingA request waiting for your answer (30 minutes). The rooms are held meanwhile.
approvedYou accepted the request, or it was booked instantly (Instant book). Until paid is true, the guest is paying (by payByAt) and the rooms stay held.
declinedYou declined the request. The rooms are available again.
cancelledCancelled by the guest, or not paid in time. The rooms are available again.
expiredThe request wasn't answered in time. The rooms are available again.
checked_inThe guest has arrived.

Bookings are returned oldest change first. To get the next page, call again with updatedSince set to the last booking's updatedAt. hostPayout is what you're paid, in the booking's currency. We share the guest's first name only; the guest gives you their check-in PIN on arrival. Approve or decline requests in the dashboard's Bookings.

Webhooks

For each event we POST to every active webhook:

POST https://your-system.com/moveguide
Content-Type: application/json
X-Moveguide-Event: booking.confirmed
X-Moveguide-Delivery: 5d0e…
X-Moveguide-Signature: t=1792609200,v1=4c9b…

{
  "id": "5d0e…",
  "event": "booking.confirmed",
  "createdAt": "2026-11-02T09:41:00Z",
  "data": { …the booking, as above… }
}
EventWhen
booking.createdA guest requested to book (status pending) or booked instantly (status approved, Instant book). Accept or decline a request in the dashboard within 30 minutes.
booking.approvedYou accepted a request.
booking.declinedYou declined a request.
booking.confirmedThe guest paid. The booking is confirmed.
booking.cancelledThe rooms are available again: the guest or the host cancelled, the guest didn't pay in time, a request wasn't answered in time, or its nights were taken before the host answered. The booking's status is cancelled or expired.
pingYou select Send test in Settings → Connect.

Respond with any 2xx status code within 8 seconds. Anything else is retried after 1 minute, 5 minutes and 30 minutes, then hours apart, up to 10 times. You can also resend any delivery from Settings → Connect. The same event can arrive twice: use its id to process it only once.

Checking the signature

Each delivery is signed with your webhook's secret. Take t and v1 from X-Moveguide-Signature, compute the HMAC-SHA256 of {t}.{raw body} with the secret, and compare the two. Reject deliveries more than five minutes old.

// Node.js
import crypto from "crypto";

function fromMoveguide(rawBody, header, secret) {
  const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
  const expected = crypto.createHmac("sha256", secret).update(`${parts.t}.${rawBody}`).digest("hex");
  const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) < 300;
  return fresh && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1));
}

Good practice

  • When you connect, send availability for at least the next 12 months, then send only what changes.
  • When a Moveguide booking arrives, remove the rooms from your other channels immediately, and send Moveguide your updated room counts.
  • Every few hours, call GET /bookings?updatedSince=… in case a webhook was missed.
  • Keep keys and secrets on your server, never in a browser or an app. Revoke a key you no longer use.

For questions, or to connect as a provider, contact host@moveguide.co.