# Repull — Full Documentation for LLMs > Comprehensive Repull API documentation in a single flat-text file, optimised for LLMs. > Summary: https://repull.dev/llms.txt > Agent guide: https://repull.dev/agents.txt > Discovery: https://repull.dev/.well-known/agents.json > Base URL: https://api.repull.dev > Hosted Connect: https://connect.repull.dev/{sessionId} > OpenAPI 3.0 spec: https://api.repull.dev/openapi.json > Updated: 2026-11-24 ## Integration guides (per channel and per PMS) Long-form, vendor-specific pages written from running these integrations in production. They cover how access is granted, what each API refuses, and where it differs from every other one — the detail that decides whether an integration works, and which is usually absent from vendor documentation. Channels: - [Airbnb API guide](https://repull.dev/airbnb-api): how partner access and OAuth scopes work, why property management is exclusive per host account, per-listing sync categories (`sync_all` / `sync_rates_and_availability` / `none`) that make a connected account refuse every write, `busy_subtype` being required on a blocked date, host-managed fields that return 200 and apply nothing, and 19-digit listing ids that must stay strings. - [How to get Airbnb API access in 2026](https://repull.dev/airbnb-api-access): Airbnb's partner page says it is not accepting new API access requests (checked 2026-11-11); the three permissions an integration needs (company approval, host OAuth, per-listing sync), which access level to request (full access is exclusive per host account; messaging and read-only coexist with a PMS), the four real options (wait, iCal, scraping, integrate through a company that already holds partner access), and how connecting through Repull's existing Airbnb partner integration works. Also in es, fr, de, it, pt, pl. - [Build an Airbnb AI guest-messaging agent with Claude](https://repull.dev/blog/airbnb-ai-guest-messaging-claude): tutorial, run end to end on 2026-11-11. Part 1 connects Claude to an Airbnb inbox with `@repull/mcp`; Part 2 is a webhook agent (`reservation.message.received` → signature check → conversation + reservation from the API → Claude structured output → reply with an Idempotency-Key, or hand off). - [Booking.com API guide](https://repull.dev/booking-com-api): connectivity-partner designation, one machine account plus a per-property Extranet connect step, the property/room/rate-plan model, rate amounts keyed to occupancy, the `{"ok": ""}` acknowledgement that proves nothing, and the exclusive `to` date bound that silently drops the last night. - [Vrbo API guide](https://repull.dev/vrbo-api): the two eligibility routes, what approved connectivity actually permits, and what Repull supports today: reservations, inquiries, messages and reviews through the host's own Vrbo account, with calendar writes, new listings and listing content edits on full access. - [Agoda API (coming soon)](https://repull.dev/agoda-api): Repull is building Agoda connectivity and certification is in progress. It will cover rates, availability, bookings and messages through the same API as Airbnb, Booking.com and Vrbo. No date yet; the page has an email-me-when-it-ships form. - [How to get Booking.com API access in 2026](https://repull.dev/booking-com-api-access): Booking.com's connectivity portal says it is pausing integrations with new connectivity providers (checked 2026-11-11) and does not accept direct connections from individual properties; the Demand API (affiliates) vs the Connectivity APIs (property management); Booking.com's published Connectivity Partner requirements; the Extranet connection request a property sends a provider, with connection types; one provider runs a property's reservations and rates and availability; and the two Repull routes: the official connection (Repull as connectivity provider) or the Extranet login next to an existing channel manager (billed like any other listing). Also in es, fr, de, it, pt, pl. - [How to get Vrbo API access in 2026](https://repull.dev/vrbo-api-access): Vrbo has no self-serve API; Integration Central's two doors (software companies: vrboconnectivity@expediagroup.com; property managers with in-house systems: pmsalesinquiry@expediagroup.com), the Connectivity Partner Program (Elite, Preferred), and how a host connects their own Vrbo account through Repull. Repull is not a Vrbo or Expedia Group partner. Also in es, fr, de, it, pt, pl. - [tiket.com channel docs](https://repull.dev/docs/channels/tiket): Repull as a tiket.com channel manager — activation in the tiket.com extranet, Hotel ID claim, room-type mapping, rates, rooms to sell and restrictions, content publish and pushed bookings. - [For platforms](https://repull.dev/for-platforms): one agreement covering many end customers, workspace isolation, white-label Connect, and an explicit list of what is not supported. - [SaaS platform Q&A](https://repull.dev/answers/saas-platform-qa): 20 technical integration questions for SaaS teams. - [Repull Migrate](https://repull.dev/migrate). - [Using Repull from a Channex integration](https://repull.dev/docs/api/channex): connect accounts with Repull Connect or create and publish listings in Repull, then point Channex code at `https://api.repull.dev/channex/api/v1` for daily work (reads, availability and restrictions, bookings, webhooks, messages and reviews). Setting up properties, rate plans or channels through the Channex API returns 422 `use_native_api`. Property management systems — each guide covers credentials, limits, field mapping to the unified schema, and when to use that vendor's API directly instead of Repull: - [Guesty API](https://repull.dev/docs/pms/guesty): OAuth2 client credentials, a cap of five tokens per API key per 24 hours, the calendar on a separate base path, messages as "posts" inside conversations, `source: "airbnb2"` rather than `"airbnb"`, offset pagination with stringified-JSON filters, Mongo ObjectId ids. - [Hostaway API](https://repull.dev/docs/pms/hostaway) · [Hospitable](https://repull.dev/docs/pms/hospitable) · [Lodgify API](https://repull.dev/docs/pms/lodgify) (one X-ApiKey; v2 reads, v1 writes; DELETE trashes a booking, decline cancels it) · [OwnerRez API](https://repull.dev/docs/pms/ownerrez) (a personal access token reaches two accounts per IP per 24 hours; messaging and webhooks need an OAuth app) · [Smoobu API](https://repull.dev/docs/pms/smoobu) (every request HMAC-signed; legacy keys ended October 31, 2026) · [Beds24 API](https://repull.dev/docs/pms/beds24) (API V2 invite codes and refresh tokens; 100 credits per 5 minutes per account) · [iGMS API](https://repull.dev/docs/pms/igms) (Developer Program OAuth token in the query string; 1,000 requests per minute; errors can arrive as HTTP 200; webhooks set up by email) · [BookingSync API](https://repull.dev/docs/pms/bookingsync) (now Smily; 2-hour tokens, rotating refresh tokens; 1,000 requests per hour per app; private apps capped at 5 accounts) · [Cloudbeds](https://repull.dev/docs/pms/cloudbeds) · [Mews API](https://repull.dev/docs/pms/mews) (Connector API; a listing is a room type) · [Track](https://repull.dev/docs/pms/track) · [RentalReady](https://repull.dev/docs/pms/rentalready) · [CiiRUS](https://repull.dev/docs/pms/ciirus) · [Zeevou](https://repull.dev/docs/pms/zeevou) (built; awaiting Zeevou certification) - [PMS coverage matrix](https://repull.dev/docs/pms-coverage): which operations each system supports, side by side. A PMS connection and a direct channel connection are different things and can run together under one key: a PMS returns its own view of a reservation, not the channel API. Airbnb partner approval and Booking.com connectivity designation are not self-serve; Repull already holds them. ## Who it's for - [Repull for operators](https://repull.dev/for/operators): property managers building their own tools (owner portals, revenue dashboards, ops automation, their own inbox or channel manager) on Airbnb, Booking.com, Vrbo and their PMS. Code, the five common questions (official routes, sandbox, API calls, per-channel pricing, channels) and worked prices. Also in es, fr, de, it, pt, pl. - [Repull for AI assistants](https://repull.dev/for/ai-assistants): guest-messaging and AI-agent products. Messaging-mode Connect next to the host's PMS, one `reservation.message.received` webhook for every channel, replies with an Idempotency-Key, and the MCP server. Also in es, fr, de, it, pt, pl. - [Repull for PMS builders](https://repull.dev/for/pms-builders): add Airbnb, Booking.com and Vrbo to PMS and booking software without certifying as a channel partner; Connect per customer, calendar push, the Channex-compatible API and Repull Migrate. Also in es, fr, de, it, pt, pl. ## Comparisons (with sources) - [Channel APIs compared](https://repull.dev/compare): Repull, Channex, Rentals United and NextPax (plus Calry, Octorate and BookingPal) on price, free tier, channels, PMS data, content push, MCP, API style and certification, from each vendor's own pages (checked 2026-11-11). - [Channex vs Repull](https://repull.dev/compare/channex): Channex is $130/month + $0.50 per vacation-rental unit (cheaper than Repull from about 15–20 listings), 78 channels, free staging, no content push yet; Repull reads 14 PMSs, pushes content, runs next to a host's PMS, and serves a Channex-compatible API (`https://api.repull.dev/channex/api/v1`): connect your accounts in Repull (or create and publish listings), then point your Channex code at it for daily work. - [Rentals United vs Repull](https://repull.dev/compare/rentals-united): Rentals United has 90+ channels, Pro from $330/month, an XML API, non-retried notifications and certification before production; Repull is REST/JSON with a free live key. - [NextPax vs Repull](https://repull.dev/compare/nextpax): NextPax has 150+ channels including the GDS, $4 per unit with a $350 monthly minimum, and a docs-only MCP; Repull has no minimum and an MCP server on live account data. - [Calry vs Repull](https://repull.dev/compare/calry): Calry is a unified API for 40+ vacation-rental PMSs with no direct channel connections; going live needs a partnership with each PMS vendor, and billing counts every active listing under each PMS connection. Repull reads 14 PMSs plus Airbnb, Booking.com and Vrbo directly, with no per-PMS deal before production, and answers in Calry's response shape with `X-Schema: calry`. - [Octorate vs Repull](https://repull.dev/compare/octorate): Octorate is all-in-one hotel and vacation-rental software (PMS, channel manager, booking engine) connected to 160+ channels, priced by quote, with a partner API you request access to. Repull is an API to build your own software, with a public price and a live key at signup. - [BookingPal vs Repull](https://repull.dev/compare/bookingpal): BookingPal distributes to 26 channels for $3 per unit a month plus 1.5% of delivered bookings (RevPAL) or from $19 per unit plus 1% (RevPAL+). Repull charges no booking commission and is an API for building software. ## Table of contents 1. What Repull is 2. Authentication, headers, schema modes 3. Connect (multi-channel onboarding picker) 4. Listings (create, AI content generation, multi-channel publish) 5. Properties and reservations (read APIs across all connected channels) 6. Channel manager — Airbnb 7. Channel manager — Booking.com (claim flow + room mapping) 8. Channel manager — Vrbo 9. Channel manager — tiket.com 10. Conversations and messaging 11. Reviews 12. Webhooks (subscriptions, signing, retries, replay, 40 event types) 13. Usage, rate limits, billing 14. Errors and idempotency 15. SDKs (TypeScript, Python, PHP, Go, Ruby, .NET) + MCP server + AI SDK provider 16. Open-source ecosystem (channel-manager, MCP, AI SDK) 17. PMS connection guide (per platform) 18. Migration from Calry --- ## 1. What Repull is Repull is the unified API for vacation-rental tech. One REST surface, one auth scheme, one schema, and 18 connections behind it (4 channels and 14 PMSs, with more channels on the way) — as the channel manager, or alongside the PMS or channel manager a host already has: - **OTA channels (4)**: Airbnb, Booking.com, Vrbo, tiket.com. They are not equal — see the capability matrix below. On Airbnb (`accessType: "messaging"`), Booking.com (Extranet login) and Vrbo (`accessType: "messaging"`) Repull can connect alongside the host's existing PMS or channel manager, which keeps its connection: https://repull.dev/docs/alongside-your-pms - **PMS connectors (14 on the Connect picker)**: Hostaway, Guesty, OwnerRez, Smoobu, Beds24, iGMS, Hospitable, Lodgify, BookingSync, Cloudbeds, Mews, Track, RentalReady, CiiRUS. Zeevou is built and waits on Zeevou's partner certification. Coming soon, not yet available through Repull: Hostfully, Tokeet, Streamline, Uplisting, Apaleo, Escapia, Amenitiz. Hosts on any other PMS can request one through Connect (`includeRequestOnly`). Use Repull when you need to: - Onboard a host onto Airbnb / Booking.com / VRBO / tiket.com / a PMS through a single hosted picker (no DIY OAuth). - Pull normalised properties, reservations, conversations, and reviews across every connected channel. - Push listings, pricing, and availability TO Airbnb / Booking.com / tiket.com, and calendar, prices, new listings and listing content to Vrbo with full access. - Add guest messaging, reservations and reviews next to a host's existing PMS on Airbnb, Booking.com and Vrbo. - Generate listing content (title, summary, description, amenities) with AI. - Receive HMAC-signed webhook deliveries with replay and secret rotation. - Integrate with Vercel AI SDK or any MCP-aware coding assistant. Repull is **not** for hotel-only PMS systems and is **not** a payment processor (use Stripe directly for cards / payouts). ### Channel capability matrix Read straight off the live OpenAPI spec, so it cannot drift silently. A column is `yes` when the channel has at least one matching operation among its channel routes (for Vrbo, among the shared conversation and review endpoints that name it): **Read** = any GET; **Write** = any POST/PUT/PATCH/DELETE; **Reservations** = a reservations or bookings route; **Send message** = a write on a messaging route; **Reply to review** = a write on a reviews route. | Channel | Read | Write | Reservations | Send message | Reply to review | |-------------|------|-------|--------------|--------------|-----------------| | Airbnb | yes | yes | yes | yes | yes | | Booking.com | yes | yes | yes | yes | yes | | VRBO | yes | yes | yes | yes | yes | **Vrbo works through the host's own Vrbo account.** The host signs in on the hosted Connect page (`POST /v1/connect` with `allowedProviders: ["vrbo-login"]`). Reservations, inquiries, conversations and reviews arrive in the unified `GET /v1/reservations`, `GET /v1/conversations` and `GET /v1/reviews` feeds with `vrbo` as the source; listings and reservations are also at `GET /v1/channels/vrbo/listings` and `GET /v1/channels/vrbo/reservations`. Guest-facing writes go through the shared endpoints: `POST /v1/conversations/{id}/messages` (text), `POST /v1/conversations/{id}/pre-approval`, `POST /v1/conversations/{id}/special-offers` (Vrbo's quote) and `POST /v1/reviews/{id}/reply`. With `accessType: "full_access"` the generic calendar write also reaches Vrbo (availability, prices, minimum stay), and the content of a listing already on Vrbo is read and edited one section at a time, on the same paths and verbs as Airbnb's — `/v1/channels/vrbo/listings/{id}/descriptions`, `/details`, `/photos`, `/rooms`, `/amenities`, `/safety-disclosures`, `/permits`, `/checkin-guide` — plus Vrbo's own `/house-rules`, `/fees`, `/rates` (weekly and monthly discounts) and the rest; reads answer `{ data, dataFreshness }` from Repull's copy, partial writes are read back from Vrbo (guide: https://repull.dev/docs/channels/vrbo/listing-content). With `"messaging"` neither happens, so the connection runs alongside the host's existing PMS. **tiket.com** (section 9) is a channel-manager connection: prices, rooms to sell, restrictions and content go out; bookings come in only when tiket.com pushes them (tiket.com has no API to fetch bookings). No guest messaging, inquiries or reviews. Per-capability grades: https://repull.dev/docs/channels/capabilities --- ## 2. Authentication, headers, schema modes ### Required headers ``` Authorization: Bearer sk_live_YOUR_API_KEY ``` The API key alone identifies and scopes your workspace — there is no separate workspace header to send. ### Optional headers ``` X-Account-Id: Scope to a specific PMS account (multi-account workspaces). Use the numeric `id` from GET /v1/connect. X-Schema: calry|calry-v1|native Response shape (default: calry) Idempotency-Key: For POST/PUT/PATCH dedup ``` ### Key format There is a single key type: `sk_live_*`. Every key acts on real PMS/OTA traffic through whatever channels your workspace has connected — there is no separate sandbox key or test mode. Your API key is shown in the dashboard at https://repull.dev/dashboard/keys (Copy button next to it). The key is the only credential you send — it resolves to exactly one workspace and scopes every read and write to it. ### CORS `Access-Control-Allow-Origin: *` is set on `api.repull.dev` so browser SDKs and SPAs work directly. Repull also emits `postMessage` events from the hosted Connect picker so you can listen on the embedding window. ### Schema modes - `calry` — default. Schema-compatible with Calry, so existing Calry codebases work after a base-URL swap. - `calry-v1` — pinned to Calry v1. - `native` — Repull's richer native shape. Set with `X-Schema` header per request. --- ## 3. Connect — multi-channel onboarding picker Repull ships a hosted, white-label Connect picker. Mint a session server-side, redirect the user to it, get a callback when they finish. One flow covers every channel and PMS. ### Why use it - No OAuth boilerplate — Repull handles Airbnb's consent screen, Booking.com's Connectivity Provider claim + room mapping or Extranet login, Vrbo's host sign-in, and the 14 PMS credential forms. - Branded — pass `branding.logoUrl` and `branding.primaryColor` per session. - Channel-restricted — pass `channels: ['airbnb', 'booking']` to lock the picker. - Survives reload, has dark-mode buttons, account-conflict UI, and host-metadata enrichment after success. ### Endpoints | Method | Path | Purpose | |---|---|---| | `GET` | `/v1/connect/providers` | List the 13 supported channels with metadata. | | `POST` | `/v1/connect` | Mint a Connect session (returns `{ sessionId, url, expiresAt }`). | | `POST` | `/v1/connect/sessions/{sessionId}/select-provider` | Bind a picker session to the chosen channel and get the next-step URL. No API key — the session id is the capability token. | | `POST` | `/v1/connect/{provider}` | Direct, single-channel session for that provider only. | | `GET` | `/v1/connect/{provider}` | Channel-specific connect metadata + host info. | | `DELETE` | `/v1/connect/{provider}?accountId=` | Disconnect one Airbnb host or Booking.com property (`accountId` required when several are connected). Its listings are deactivated, not deleted. | ### SDK one-liner ```ts const session = await repull.connect.createSession({ redirectUrl: 'https://your-app.com/connected', }) window.location.href = session.url // or window.open(session.url, ...) ``` ### Per-channel flow notes - **Airbnb** — `accessType: 'read_only' | 'messaging' | 'full_access'` on `POST /v1/connect/airbnb`. OAuth consent at Airbnb's site, Repull holds the refresh token, you get host metadata back. With `full_access` every listing on the account comes under API management, and Airbnb's default for those is Instant Book: Request to Book listings become Instant Book, including ones kept inactive in Repull. Switch one back with `PUT /v1/channels/airbnb/listings/{id}/booking-settings` and `{"instantBook": {"enabled": false}}` (`{id}` is the Repull listing id), and check with `GET` on the same path; Airbnb may keep some listings on Instant Book even after accepting the change, so set those in Airbnb. `messaging` does not put listings under API management, so booking settings stay as the host set them. - **Booking.com** — Connectivity Provider claim flow: 1. `POST /v1/connect/booking/verify` with `{ hotelId }` — returns `verified` or `hotel_not_found`. 2. `POST /v1/connect/booking/rooms` — pulls the hotel's rooms. 3. `POST /v1/connect/booking/map-rooms` — maps imported rooms to Repull listings. 4. CNS webhook lands at `/v1/connect/booking/callback` and finalises the connection. - **Booking.com Extranet login (beta)** — `allowedProviders: ["booking-extranet-login"]`: the host invites a Repull user into their Extranet (or signs in); reservations, messages and reviews next to their existing channel manager. - **Vrbo** — `allowedProviders: ["vrbo-login"]`: the host signs in with their Vrbo account, then maps units; `accessType` `messaging` or `full_access`. - **tiket.com** — `allowedProviders: ["tiket"]`: the property activates Repull as its channel manager in the tiket.com extranet, the host enters the Hotel ID (`POST /v1/connect/tiket/verify`; `412 awaiting_activation` until tiket.com activates it, and Repull keeps checking for up to 14 days), then maps room types (`GET /v1/connect/tiket/rooms`, `POST /v1/connect/tiket/map-rooms`). See section 9. - **PMSes (11)** — credential forms with per-PMS field shapes (Hostaway clientId+secret, OwnerRez email + personal access token, Smoobu API key + secret, Beds24 invite code, etc.). ### Hosted picker UX Picker URL: `https://connect.repull.dev/{sessionId}` — opens to a chooser of the channels you whitelisted, shows real brand logos for all 13, and routes through `beginConnect`. On success it emits a `postMessage` to the opener: ```js window.addEventListener('message', (e) => { if (e.origin !== 'https://connect.repull.dev') return if (e.data?.type === 'repull:connect:complete') { // e.data.connection has provider, accountId, host metadata } }) ``` A `connection.created` webhook fires server-side at the same time. ### Apps on Connect (PriceLabs) Apps are tools that work on the listings a workspace connected. They are Connect providers like PMSs and channels (`GET /v1/connect/providers` → `category: "app"`; PriceLabs = `pricelabs`) and show in the hosted picker under Apps. Directory: https://repull.dev/apps. Docs: https://repull.dev/docs/connect/apps - `POST /v1/connect/pricelabs` — hosted session for your workspace, `X-Workspace-Id`'s, or a new sub-workspace (`workspace: { name }`). Body `redirectUrl`, `state?`, `locale?`. The page shows the host the key once (every listing of the workspace, new ones included) with paste steps; on PriceLabs' first successful call it redirects to `redirectUrl?status=connected&connectionId=…&state=…` and `connect.session.completed` fires. - `POST /v1/connect/pricelabs/key` — headless key, once. Body `{ listingIds?, label? }`; no `listingIds` = whole workspace. - `GET /v1/connect/pricelabs` — `accounts[]`, one per key: `id`, `status` (`active` | `disconnected`), `scope`, `listingCount`, `keyMasked`, `externalAccountId: null`, `health` (`status`: `active` a price push in 24 h, `idle`, `failing` >25% errors over ≥5 requests in 24 h, `never_connected`; `lastSuccessfulWriteAt`, `writesPerDay` 7 days, error rates, `recentErrors`). `GET /v1/connect` includes active ones. - `DELETE /v1/connect/pricelabs?id=` — disconnect; 422 with `valid_values` when several and no id. - Webhooks: `connect.session.completed`, `account.created` (first successful call), `account.disconnected`, all with `provider: "pricelabs"`. A PriceLabs key reads listings, calendars and reservations and writes prices and minimum stays for the listings it covers; it is refused (`403 forbidden_scope`) on every Repull API endpoint. --- ## 4. Listings — create, AI content generation, multi-channel publish Repull listings are channel-agnostic resources. Create once, publish to any channel. ### Endpoints | Method | Path | Purpose | |---|---|---| | `POST` | `/v1/listings` | Create a Repull-native listing. | | `GET` | `/v1/listings` | Cursor-paginated catalog with filters. | | `GET` | `/v1/listings/{id}` | Read one listing. | | `PATCH` | `/v1/listings/{id}` | Activate or deactivate one listing (`{"active": false}`). | | `POST` | `/v1/listings/status` | Activate or deactivate up to 500 listings at once, all or nothing. | | `POST` | `/v1/listings/{id}/generate-content` | Kimi-powered title, summary, description, amenities. | | `POST` | `/v1/listings/{id}/publish/airbnb` | Publish to Airbnb. | | `POST` | `/v1/listings/{id}/publish/booking` | Publish to Booking.com. | | `GET` | `/v1/listings/{id}/publish-status` | Per-channel publish state. | ### AI content generation ```bash curl -X POST https://api.repull.dev/v1/listings/{id}/generate-content \ -H "Authorization: Bearer sk_live_…" \ -d '{"tone":"warm","length":"long","languages":["en","es"]}' ``` Returns `{ title, summary, description, amenitiesCopy, perChannel: { airbnb: {...}, booking: {...} } }`. ### Dashboard - https://repull.dev/dashboard/listings — table with filters and pagination. - https://repull.dev/dashboard/listings/new — visual create + AI gen + multi-channel publish. --- ## 5. Properties and reservations ### Properties | Method | Path | |---|---| | `GET` | `/v1/properties` | | `GET` | `/v1/properties/{id}` | `GET /v1/properties` returns normalised properties from every connected channel — Airbnb listings, Booking.com properties, VRBO properties, plus everything imported via PMS connectors. Filters: `platform`, `status`, `q` (search). ### Reservations | Method | Path | |---|---| | `GET` | `/v1/reservations` | | `POST` | `/v1/reservations` | | `POST` | `/v1/reservations/quote` | | `PATCH` | `/v1/reservations/{id}` | | `POST` | `/v1/reservations/{id}/cancel` | Filters on `GET /v1/reservations`: `status`, `platform`, `listing_id`, `check_in_after`, `check_in_before`, `check_out_after`, `check_out_before`, `guest_email`, `q`. Returns the union across all connected channels. `status=pending` lists Airbnb booking requests that can still be answered, each with `respondBy` (24 hours after the guest asked). A request that lapsed, or whose check-in passed, is reported as `cancelled` with `statusDetail: "request_expired"` instead, even when Airbnb never announced it. Accept or decline with `POST /v1/reservations/{id}/accept` and `POST /v1/reservations/{id}/decline` (see section 10). ### Creating, changing and cancelling reservations in a PMS Guide: https://repull.dev/docs/reservations/create · per PMS: https://repull.dev/docs/reservations/pms-support - **Routing.** `POST /v1/reservations` on a listing managed in a connected PMS (Mews, Cloudbeds, Hostaway, Guesty, Beds24, BookingSync, Lodgify, Smoobu, Hospitable, iGMS, OwnerRez, Track) creates the booking IN the PMS first, then records it from the PMS record, so the next sync lands on the same confirmation code. Any other listing gets a direct booking priced from its own rates (no availability check). `PATCH /v1/reservations/{id}` and `POST /v1/reservations/{id}/cancel` follow the booking to the PMS the same way. - **Check first.** `GET /v1/listings/{id}` → `capabilities.reservations`: `managedBy` (`pms` | `repull`), `provider`, `create`, `modify`, `cancel`, `quote`, `customPrice`, `notes`, `verifiedAgainst` (`sandbox` | `vendor_docs`). A flag is true only when the PMS supports it, the workspace is still connected, and the connection write policy allows API bookings. `GET /v1/connect/{provider}` returns the same object for a whole connection. - **Beyond bookings.** Review replies, request answers and pre-approvals, listing content, guests (`POST /v1/guests` with `provider`, `PATCH /v1/guests/{id}`), messages and calendar writes also go to the PMS that owns the record — `capabilities.pms` on `GET /v1/connect/{provider}` and `GET /v1/listings/{id}` says what each PMS takes; a false flag is `422 pms_write_unsupported`. Guide: https://repull.dev/docs/pms-writes - **Fields.** Both kinds: `listingId`, `checkIn`, `checkOut`, `guest` (`firstName` required), `adults`, `children`, `guestCount`, `status` (`confirmed` | `tentative`), `platform` (`direct` | `website` | `owner`; `owner` refused on a PMS listing). PMS listings only: `totalPrice` (honoured where `customPrice`; required on iGMS), `notes`, `unitId`, `sendConfirmationEmail`. Direct listings only: `checkInTime`, `checkOutTime`, `currency`, `guestId`. A field the listing cannot take is `422 unsupported_field` naming it. - **Quote.** `POST /v1/reservations/quote` `{ listingId, checkIn, checkOut, adults?, children?, guestCount?, unitId? }` → `{ available, total, currency, breakdown, restrictions }`. `available: false` is an answer (reasons in `restrictions`). Not a PMS listing → `422 pms_not_linked` (use `GET /v1/quotes`). Mews, Cloudbeds, iGMS have no quote API → `422 pms_write_unsupported`. - **Idempotency.** Always send `Idempotency-Key`; it is also sent to the PMS as the booking reference. `502 pms_error` → retry with the SAME key. `409 pms_duplicate` → already booked with this key (`existing`). `502 reservation_created_in_pms_only` → FINAL (`retryable: false`): the booking exists in the PMS and arrives with the next sync; the same key replays it; NEVER retry with a new key. `422 pms_rejected` → fix, then a NEW key. - **Partial success.** `201` with `pms.partial: true` and `pms.failedSections` → the booking exists; do not create it again. - **Refusals.** `409 reservation_owned_by_channel` (Airbnb/Booking.com/Vrbo bookings, including via a PMS — change on the channel), `409 pms_group_booking`, `409 pms_unavailable`, `409 no_connection`, `409 pms_writes_off` (`PATCH /v1/connect/{provider}/write-policy`), `403 connection_reauth_required` (grant lacks booking write access — reconnect). - **Per PMS.** OwnerRez: no cancel, priced by property rates, needs the OAuth `full` scope. Smoobu: no date changes; API key + secret (HMAC). iGMS: direct (airgms) bookings only, `totalPrice` required (whole number), no quote. Hospitable: manual reservations only, `reservation:write`, quote needs the Direct plan. Beds24: `write:bookings` (+ `bookings-personal`, `bookings-financial`), multi-room property needs `unitId`. BookingSync: `bookings_write` + `clients_write`. Lodgify: cancel declines the booking. Guesty: cancels direct and Vrbo bookings only. Hostaway: direct-channel bookings, no specific unit. Cloudbeds: rate-plan price only, group bookings supported. Mews: no quote. Track: Hold or Confirmed is decided by the property's policies, a custom price on a Channel Key needs "Allow Custom Pricing", bookings locked to a channel (Airbnb, Vrbo, Booking.com) cannot be changed or cancelled, no refunds; a Server Key is needed to change bookings. Mews and Cloudbeds are verified on vendor sandboxes; the rest against vendor API documentation. --- ## 6. Channel manager — Airbnb | Method | Path | Purpose | |---|---|---| | `POST` | `/v1/channels/airbnb/listings` | Create Airbnb listing. | | `POST` | `/v1/channels/airbnb/listings/{id}` | Actions: push, pull, publish, unlist, delete. | | `POST` | `/v1/channels/airbnb/listings/{id}/photos` | Upload photos. | | `PUT` | `/v1/channels/airbnb/listings/{id}/pricing` | `type`: model, standard, los, rate-plan, fees, currency, rule, calendar. `{id}` is the Repull listing id. | | `PUT` | `/v1/channels/airbnb/listings/{id}/availability` | `type`: rules or calendar. Blocking (`availability: "unavailable"`) sends `busy_subtype: "BLOCKED_BY_HOST"` unless you pass `OUTSIDE_RESERVATION`. | Airbnb authorises API sync **per listing**, not per account. `GET /v1/channels/airbnb/listings` reports `syncCategory` (`sync_all` | `sync_rates_and_availability` | `none`) and `writable` on every entry of each listing's `connections[]`; `writable` is `false` exactly when `syncCategory` is `none`. Airbnb write errors: `422 invalid_params` (field-level, nothing sent to Airbnb), `422 airbnb_rejected` (Airbnb's reason in `message`), `403 listing_not_api_connected` (API sync is off for that listing on Airbnb — the host turns it on for the listing itself; reconnecting the account does NOT help; nothing was sent), `403 connection_reauth_required` (the account authorization expired or was revoked — reconnect at https://repull.dev/dashboard/connections; retrying won't help), `403 listing_inactive`, `404 not_found`, `429 airbnb_rate_limited`, `502 airbnb_error` (Airbnb outage — retry). | `POST` | `/v1/channels/airbnb/messaging/{threadId}/messages` | Send guest message. | | `POST` | `/v1/channels/airbnb/reservations/{code}` | Accept / decline / cancel. | | `POST` | `/v1/channels/airbnb/alterations` | Reservation alterations (date / guest / price changes). | | `POST` | `/v1/channels/airbnb/reviews` | Respond to a review or submit a host review. | | `POST` | `/v1/channels/airbnb/offers` | Special offer / pre-approval by Airbnb thread id. Prefer the Repull-id endpoints in section 10. | | `GET` | `/v1/channels/airbnb/transactions` | Payout transactions. | Writes are per listing — there is no single call that pushes a whole portfolio to a channel. --- ## 7. Channel manager — Booking.com | Method | Path | Purpose | |---|---|---| | `POST` | `/v1/listings/{id}/publish/booking` | Publish a listing to Booking.com. | | `GET` | `/v1/channels/booking/properties` | List connected properties. | | `GET` | `/v1/channels/booking/properties/{id}` | Read one property, incl. `/rooms`. | | `POST` | `/v1/channels/booking/content` | Upload photos, update descriptions / amenities. | | `PUT` | `/v1/channels/booking/availability` | Update rates and availability. | | `POST` | `/v1/channels/booking/messaging` | Send guest message. | | `POST` | `/v1/channels/booking/setup` | Legal entity, go-live, policies. | | `GET` | `/v1/channels/booking/charges` | Booking.com charge data. | ### Booking.com onboarding (Connectivity Provider claim flow) The Connect picker handles this end-to-end. The underlying calls are: ```bash # 1. Verify the host owns this hotel POST /v1/connect/booking/verify { hotelId } # 2. Pull rooms from Booking.com GET /v1/connect/booking/rooms ?sessionId=… # 3. Map Booking rooms → Repull listings POST /v1/connect/booking/map-rooms { sessionId, mappings: [{ roomId, listingId }, …] } # 4. Booking.com fires CNS callback POST /v1/connect/booking/callback (signed by Booking.com) ``` --- ## 8. Channel manager — Vrbo | Method | Path | |---|---| | `GET` | `/v1/channels/vrbo/listings` | | `GET` | `/v1/channels/vrbo/reservations` | | `GET` | `/v1/connect/vrbo-login` (accounts, access and import status) | | `GET` `POST` | `/v1/channels/vrbo/listings/{id}` (the listing's Vrbo units; actions `push`, `unlist`, `relist`, `delete`) | | `GET` | `/v1/channels/vrbo/listings/{id}/content` (several sections in one call) | | `GET` `PUT` | `/v1/channels/vrbo/listings/{id}/descriptions` and the other sections — Airbnb's paths (full access to write) | The host signs in with their own Vrbo account on the hosted Connect page (`POST /v1/connect` with `allowedProviders: ["vrbo-login"]`), enters a verification code if Vrbo sends one, and maps units to listings; the import then brings upcoming bookings and the last 30 days of messages first, the rest of the history after. Vrbo is written through the shared endpoints: `POST /v1/conversations/{id}/messages` (text only), `POST`/`DELETE /v1/conversations/{id}/pre-approval`, `POST /v1/conversations/{id}/special-offers` (Vrbo's quote: `rentalAmount`, `fees`, `damageDeposit`; read or withdraw with `offerId` `current`) and `POST /v1/reviews/{id}/reply` (one reply per review, signed with a `name`). Reservations, conversations and reviews arrive in the unified feeds with `vrbo` as the source. Act on a Vrbo booking by its confirmation code (`HA-…`), like Airbnb's: `GET /v1/channels/vrbo/reservations/{code}` (Vrbo's view; `?options=cancel|change|decline` lists Vrbo's choices), `POST /v1/channels/vrbo/reservations/{code}` with `action` `accept`, `decline`, `cancel` (Vrbo's reasons; Vrbo penalises host cancellations), `charge` (extra charge: `fee_type`, `amount`, `message`, `due_date`) or `refund`, and `POST /v1/channels/vrbo/alterations` (dates, times, adults/children, pets, `rent_amount`; applied at once). `"preview": true` returns Vrbo's own preview and changes nothing. Rate the guest with `POST /v1/reviews/{id}/guest-review` (`rating`, `categoryRatings`, `isRevieweeRecommended`; no text). Guide: https://repull.dev/docs/channels/vrbo/reservations Payouts: `GET /v1/channels/vrbo/transactions` is the Vrbo payout ledger, like Airbnb's: every bank deposit (a Payout row) followed by the bookings it paid (lines summing to it; negative = money taken back), and scheduled payouts (`status: UPCOMING`). Stable ids; `POST` refreshes it from Vrbo. Guide: https://repull.dev/docs/channels/vrbo/transactions Same routes as Airbnb: `GET /v1/channels/vrbo/messaging`, `GET|POST /v1/channels/vrbo/messaging/{threadId}/messages` (thread id `vrbo:`; text only), `POST|GET|DELETE /v1/channels/vrbo/offers` (Airbnb's offer body; a quote is priced by `rental_amount` / `fees` / `damage_deposit`, Vrbo adds taxes), `GET /v1/channels/vrbo/reviews` and `PUT /v1/channels/vrbo/reviews/{id}` (rate the guest), `GET /v1/channels/vrbo/listings/{id}/settings`, and `POST /v1/listings/{id}/pull/vrbo` (refresh every content section from Vrbo). Hubs with the same sections for both channels: https://repull.dev/docs/channels/airbnb and https://repull.dev/docs/channels/vrbo `accessType: "full_access"` also pushes calendar writes (`PUT /v1/availability/{propertyId}`, `PATCH /v1/availability/batch`) to Vrbo — availability, prices, minimum stay. `accessType: "messaging"` never pushes the calendar, so the connection runs alongside the host's existing PMS. Guide: https://repull.dev/docs/channels/vrbo Listing content (full access): each part of a listing already on Vrbo is a section with its own path, the same as Airbnb's where both channels have it (e.g. `/v1/channels/vrbo/listings/{id}/descriptions`). Sections: `descriptions` (every language; `locale` writes a translation, `DELETE ?locale=` removes one), `details`, `story`, `additional-info`, `photos` (`POST` add by URL or base64, `PATCH` caption / `sort_order`, `DELETE ?photoId=`, `PUT photos/cover`, `PUT photos/order`), `videos` (`POST` `{url}`, `DELETE ?videoId=`), `amenities`, `safety-disclosures`, `rooms` (`POST`, `PUT ?roomId=`, `DELETE ?roomId=`; Airbnb's or Vrbo's room and bed types), `location`, `house-rules`, `booking-settings`, `cancellation`, `fees`, `pricing`, `rates` (weekday prices and weekly / monthly discounts over a date range), `payment-terms`, `protection`, `taxes`, `permits`, `checkin-guide`, `checkout-guide`. `GET` answers `{ data, dataFreshness }` from Repull's copy (`?source=live` reads Vrbo now); a write takes only the fields that change and answers `{ data, written, dataFreshness }`, where `data` is the section read back from Vrbo; a value Vrbo refuses is `422 vrbo_rejected` with Vrbo's own reason. The address and map pin change only through Vrbo support; where Vrbo collects the tax itself the tax rules are read-only. Guide: https://repull.dev/docs/channels/vrbo/listing-content --- ## 9. Channel manager — tiket.com tiket.com is an Indonesian online travel agency. Repull is a tiket.com channel manager. Guide: https://repull.dev/docs/channels/tiket | Method | Path | Purpose | |---|---|---| | `GET` | `/v1/channels/tiket/properties` | Connected properties: room types, rate plans, mapped listing per room type, `mappingStatus`, `activationStatus`, `priceModel`, `contentMapped`. | | `GET` | `/v1/channels/tiket/properties/{id}` | One property (`{id}` = tiket.com Hotel ID), incl. `/rooms`. | | `POST` | `/v1/channels/tiket/listings/map` | `{ property_id, mappings: [{ roomTypeCode, listingId \| null } \| { roomTypeCode, create: true }] }`. | | `GET` `PUT` | `/v1/channels/tiket/availability` | Read or write tiket.com directly: `type` `availability` \| `rates` \| `restrictions`, `updates[]`. | | `GET` `PUT` | `/v1/channels/tiket/listings/{id}/pricing` | The same, addressed by Repull listing id. | | `POST` | `/v1/channels/tiket/sync` | Re-send every mapped listing's calendar (500 days); `refresh_products: true` re-reads room types and rate plans first. | | `POST` | `/v1/channels/tiket/setup` | `action`: `create-property`, `add-room`, `add-rate-plan`, `request-registration`, `set-tiket-hotel-id`, `request-activation`, `check-activation`, `request-content-mapping`, `confirm-content-mapping`, `refresh`, `disconnect`, `set-push-rate-plans`, `set-sync`. | | `POST` | `/v1/listings/{id}/publish/tiket` | Room content and rate-plan policies (plus property content for a property created through Repull). | | `GET` | `/v1/channels/tiket/content` | What Repull last sent tiket.com (tiket.com has no content-read API), with EchoTokens. | | `GET` | `/v1/channels/tiket/reservations` | Bookings as tiket.com delivered them, one row per room. | Calendar: any calendar write on a mapped listing (`PUT /v1/availability/{propertyId}`, `PATCH /v1/availability/batch`) pushes rooms to sell per room type, the nightly price and minimum / maximum stay, closed to arrival / departure on each rate plan selected for pushes (`set-push-rate-plans`), up to 500 days ahead. Zero rooms also stops sales on the rate plans. On an Occupancy Based property the nightly price is sent for the room type's maximum adults. Every night Repull reads tiket.com's prices for the next 90 days back and re-sends drifted dates. Direct writes (`PUT /v1/channels/tiket/availability`): dates inclusive, today to +500 days; Room Based `price` or Occupancy Based `occupancyPrices: [{ guests, amount }]` (the other shape is `422` naming the property's model); prices include tax; `currency` defaults to the property's; restrictions `minStay`, `maxStay` (0–365), `stopSell`, `closedToArrival`, `closedToDeparture`, `minAdvanceDays`, `maxAdvanceDays` (0–500). Each write is read back: `applied` = `verified` | `mismatch` (with `mismatches`) | `unverified` (`verify: false`); tiket.com `warnings` and `echoTokens` are returned verbatim; a refusal is `422 tiket_rejected` with tiket.com's reason. Children's prices are paused: tiket.com asked channel managers to stop sending them until it fixes an issue where one update covering several rate plans keeps only one children's price. A write with `childPrices` is refused with `422 invalid_params` explaining this; children's prices set in the tiket.com extranet still apply. Content: tiket.com applies content only to properties linked to Repull's content codes — a property created through Repull, or an existing one after `request-content-mapping` / `confirm-content-mapping`; otherwise the publish is `409 tiket_content_not_mapped`. Content is checked against tiket.com's data requirements before sending (tiket.com accepts incomplete content and rejects it later); problems come back as `422` with `value_received`. A new property: `create-property` (from a listing) → `add-room` / `add-rate-plan` → `request-registration` → tiket.com replies by email with the Hotel ID → `set-tiket-hotel-id`. Reservations: tiket.com pushes each booking, change and cancellation; there is no API to fetch bookings, so bookings made before activation never arrive (block those nights before mapping). They appear in `GET /v1/reservations?platform=tiket` and fire the usual reservation webhooks. A multi-room booking becomes one reservation per room (`1966035`, `1966035-2`). A date change arrives as a cancellation plus a new booking; Repull records it as a change of the same reservation (same confirmation code; `previousTiketReservationId` on the tiket.com view). Guests carry a name and country only; no email, phone, messaging or reviews. Bookings are changed or cancelled on tiket.com. Virtual cards are not available until tiket.com approves Repull's security assessment; until then only bookings tiket.com collects itself arrive (tiket.com pays the property `netAmount`). Card details are never returned. --- ## 10. Conversations and messaging | Method | Path | |---|---| | `GET` | `/v1/conversations` | | `GET` | `/v1/conversations/{id}` | | `GET` | `/v1/conversations/{id}/messages` | | `POST` | `/v1/conversations/{id}/messages` | Returns messages from every connected channel in one feed (Airbnb, Booking.com, VRBO, plus PMS-imported chats). `POST /v1/conversations/{id}/messages` sends on the conversation's own channel (Airbnb, Booking.com, SMS, email or direct-booking site chat). Body: `message` (up to 4000 characters), `attachments` (1 to 5 `{ url, contentType?, filename? }`, public https URLs, 10 MB each), or both. Airbnb takes JPEG/PNG/GIF/WebP/MP4/QuickTime and sends each file as its own message; Booking.com takes JPEG/PNG and needs text with them; other channels answer `422 attachments_not_supported` and nothing is sent. Check `contentRewritten`: Airbnb strips links, emails and phone numbers, and `deliveredContent` is what the guest got. A partial send is `422 message_partially_sent` with `parts`; resend only the parts that failed. Guide: https://repull.dev/docs/send-message ### Inquiries, pre-approvals, special offers, booking requests (Airbnb) | Method | Path | Purpose | |---|---|---| | `GET` | `/v1/inquiries` | Inquiries waiting on the host (default `status=open`). ISO-8601 timestamps, `respondBy` deadline, `relayedBy` when a PMS relays it. | | `POST` | `/v1/conversations/{id}/pre-approval` | Let the guest book the dates and price they asked about. | | `POST` | `/v1/conversations/{id}/special-offers` | Offer your own `checkIn`, `checkOut`, `guests`, `totalPrice`. | | `GET` | `/v1/conversations/{id}/special-offers/{offerId}` | Read an offer back. | | `DELETE` | `/v1/conversations/{id}/special-offers/{offerId}` | Withdraw an unbooked offer. | | `POST` | `/v1/reservations/{id}/accept` | Accept a pending booking request. | | `POST` | `/v1/reservations/{id}/decline` | Decline one; `reason` and `message` required. | Only Airbnb listings connected directly; anything else is `422 channel_not_supported`. Webhooks: `inquiry.created`, `inquiry.updated`, `reservation.request.created`, `reservation.request.updated`. A request or inquiry that lapses without Airbnb saying so fires no event, but the GET endpoints report it as expired. Errors never retryable: the `409`s (`request_expired`, `request_no_longer_pending`, `reservation_not_pending`, `inquiry_expired`, `inquiry_no_longer_open`, `conversation_already_booked`). Guide: https://repull.dev/docs/channels/airbnb/inquiries-and-requests --- ## 11. Reviews | Method | Path | |---|---| | `GET` | `/v1/reviews` | | `POST` | `/v1/reviews/{id}/reply` | Plus per-channel: `POST /v1/channels/airbnb/reviews`, `GET /v1/channels/booking/reviews`. The open-source `repull-channel-manager` template ships a full review management UI — list, respond, draft, AI suggestions, dashboard stats. --- ## 12. Webhooks Subscriptions are full CRUD with HMAC-signed delivery, exponential-backoff retries, replay, and secret rotation. ### Endpoints | Method | Path | Purpose | |---|---|---| | `GET` | `/v1/webhooks` | List subscriptions. | | `POST` | `/v1/webhooks` | Create subscription `{ url, events[], description? }`. Returns the subscription with a one-time-visible `secret`. | | `GET` | `/v1/webhooks/{id}` | Read one subscription. | | `PATCH` | `/v1/webhooks/{id}` | Update events / url / active. | | `DELETE` | `/v1/webhooks/{id}` | Delete subscription. | | `GET` | `/v1/webhooks/{id}/deliveries` | Delivery history with status, attempt count, response code. | | `POST` | `/v1/webhooks/{id}/test/{event_type}` | Fire a realistic fixture payload of that event type. | | `POST` | `/v1/webhooks/{id}/ping` | Fire a `repull.ping` and return the delivery cycle inline. | | `POST` | `/v1/webhooks/{id}/ping` | Quick health check (delivers a `ping` event). | | `POST` | `/v1/webhooks/{id}/rotate-secret` | Rotate the signing secret. | | `GET` | `/v1/webhooks/event-types` | List all 40 event types with example payloads. | ### Event types (40) - `reservation.created` (Reservations): Reservation created - `reservation.updated` (Reservations): Reservation updated - `reservation.cancelled` (Reservations): Reservation cancelled - `reservation.message.sent` (Reservations): Host message sent - `reservation.message.updated` (Reservations): Message edited - `reservation.message.read` (Reservations): Message read by the guest - `reservation.message.reaction` (Reservations): Message reaction - `reservation.message.received` (Reservations): Guest message received - `reservation.alteration.created` (Reservations): Alteration requested - `reservation.alteration.responded` (Reservations): Alteration responded - `reservation.request.created` (Reservations): Booking request received - `reservation.request.updated` (Reservations): Booking request resolved - `booking.unacknowledged` (Reservations): Booking not acknowledged - `reservation.thread.assigned` (Reservations): Message thread assigned to a booking - `inquiry.created` (Inquiries): Inquiry received - `inquiry.updated` (Inquiries): Inquiry updated - `listing.created` (Listings): Listing created - `listing.updated` (Listings): Listing updated - `listing.deleted` (Listings): Listing deleted - `listing.suspended` (Listings): Listing suspended - `listing.reactivated` (Listings): Listing reactivated - `channel.sync.failed` (Calendar): Channel sync failed - `channel.degraded` (Accounts): Channel connection degraded - `account.created` (Accounts): Account connected - `connect.session.completed` (Accounts): Connect session completed - `account.disconnected` (Accounts): Account disconnected - `account.import.started` (Accounts): Import started - `account.import.completed` (Accounts): Import completed - `account.import.failed` (Accounts): Import failed - `review.created` (Reviews): Review received - `review.responded` (Reviews): Review responded - `ai.operation.completed` (AI): AI operation completed - `ai.operation.failed` (AI): AI operation failed - `payment.completed` (Payments): Payment completed - `payment.refunded` (Payments): Payment refunded - `payout.completed` (Payments): Payout completed - `migration.completed` (Migrations): Migration import completed - `migration.failed` (Migrations): Migration import failed - `repull.ping` (System): Test ping - `usage.quota.warning` (System): Quota warning (See `GET /v1/webhooks/event-types` for the canonical list and per-event payload examples.) ### Signing Each delivery includes: ``` X-Repull-Signature: t=1714521600,v1= X-Repull-Event: reservation.created X-Repull-Delivery: ``` Verify with HMAC-SHA256 over `.` using the per-endpoint secret. See https://repull.dev/docs/verify-webhook-signatures. ### Retries and replay - A failed delivery (non-2xx, timeout after 10 seconds, or connection error) is retried 7 times over 24 hours: 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and 24 hours after the first attempt. Every retry carries the same `eventId`; with several endpoints, each is retried on its own and one that accepted is not sent the event again. See https://repull.dev/docs/webhook-retries. - Replay any delivery from the dashboard at https://repull.dev/dashboard/webhooks. - A delivery can be replayed at most 3 times per rolling 60-minute window. The window opens on the first replay and resets once it elapses; it is not a lifetime cap. The budget belongs to the original delivery, so replaying the delivery a replay produced draws on the same 3. Over the limit: `409 replay_limit_reached` with `Retry-After` (seconds) and `next_replay_allowed_at`. A 200 carries `replayNumber`, `replaysRemaining` and `nextWindowResetAt`. - Replaying a delivery the endpoint already accepted (2xx) is refused with `409 delivery_already_succeeded`, because it would deliver a duplicate. Send it anyway with body `{"force": true}`; a forced replay still counts against the 3 per hour. - If the same delivery keeps failing, replaying it again will not fix it — the receiver is what is broken. Check the recorded response in `GET /v1/webhooks/{id}/deliveries`, then confirm the endpoint with `POST /v1/webhooks/{id}/test/{event_type}` before spending replays. See https://repull.dev/docs/webhook-retries. ### Dashboard - https://repull.dev/dashboard/webhooks — add endpoint, pick events, inspect deliveries, replay, rotate secrets. --- ## 13. Usage, rate limits, billing ### Usage endpoints | Method | Path | |---|---| | `GET` | `/v1/usage/summary` | | `GET` | `/v1/usage/logs` | | `GET` | `/v1/usage/tier` | ### Rate limits | Plan | Requests/minute | Requests/day | |------|-----------------|--------------| | Free (3 listings) | 60 | 5,000 | | Starter ($99 / 10 listings) | 500 | 100,000 | | Scale (custom) | Custom | Custom | Headers on every response: ``` X-RateLimit-Limit: 500 X-RateLimit-Remaining: 498 X-RateLimit-Reset: 1714521600 ``` 429 responses include a `Retry-After` header (seconds). ### Billing - `GET /v1/billing` — current plan and usage. - `POST /v1/billing` — create a Stripe checkout session. - Plans: Free (3 listings), Starter ($99/month, 10 listings included, then $5 per listing up to 100), Custom (100+ listings). Marketing page: https://repull.dev/pricing. ### Dashboards - https://repull.dev/dashboard/usage — rolling request volume + per-endpoint breakdown. - https://repull.dev/dashboard/logs — request log tail with filters. - https://repull.dev/dashboard/billing — plan + invoices. --- ## 14. Errors and idempotency ### Errors Every non-2xx response is JSON: ```json { "error": { "code": "validation_failed", "message": "Field `redirectUrl` must be an https URL.", "field": "redirectUrl", "requestId": "req_…" } } ``` Common codes: `unauthorized`, `forbidden`, `not_found`, `validation_failed`, `rate_limited`, `idempotency_conflict`, `market_subscription_required` (402), `provider_error`. ### Idempotency Pass `Idempotency-Key: ` on POST/PUT/PATCH. Repull stores the response for 24 hours and returns the cached body on retries, tagged `Idempotency-Status: cached`. - Same key while the first request is still running: `409 idempotency_key_in_use`. Wait, then retry with the same key. - Same key with a different body: `422 idempotency_key_reused`. Use one key per distinct request. - Not stored, so a retry with the SAME key runs for real: any `5xx`, `408`, `425`, `429` (including `airbnb_rate_limited`, `booking_rate_limited`, `daily_limit_exceeded`), `connection_reauth_required`, `listing_inactive`. - Stored and replayed: every other answer, including final refusals such as `422 airbnb_rejected`. Send a corrected request with a new key. - `500 service_misconfigured` carries `retryable: false`: nothing was sent, and resending will not help until it is fixed; report the `request_id`. Other `500`s are `internal_error` and retryable. Every error has a page at `https://repull.dev/docs/errors/`. --- ## 15. SDKs, MCP, AI SDK ### TypeScript ```bash npm install @repull/sdk ``` ```ts import { Repull } from '@repull/sdk' const repull = new Repull({ apiKey: 'sk_live_…' }) const properties = await repull.properties.list() const session = await repull.connect.createSession({ redirectUrl: 'https://your-app.com/connected' }) ``` Source: https://github.com/ivannikolovbg/repull-sdk. Published on npm as `@repull/sdk`. ### Python ```bash pip install repull-sdk ``` ```python import os from repull import AuthenticatedClient from repull.api.properties import list_properties client = AuthenticatedClient( base_url="https://api.repull.dev", token=os.environ["REPULL_API_KEY"], ) properties = list_properties.sync(client=client) ``` The Python client is generated one module per operation, so you import the operation you need rather than calling a method on a facade object. Source: https://github.com/ivannikolovbg/repull-python. Published on PyPI as `repull-sdk`. ### PHP ```bash composer require repull/sdk ``` Source: https://github.com/ivannikolovbg/repull-php. Listed on Packagist. ### Go ```bash go get github.com/ivannikolovbg/repull-go ``` Module: `github.com/ivannikolovbg/repull-go`. Generated from the OpenAPI spec. ### Ruby ```bash gem install repull ``` Source: https://github.com/ivannikolovbg/repull-ruby. Published on RubyGems. ### .NET Not published. The source is at https://github.com/ivannikolovbg/repull-dotnet and tagged, but there is nothing on NuGet to install, so call the REST API directly until it lands. ### Remote MCP server (`https://repull.dev/mcp`) Hosted MCP server (Streamable HTTP, OAuth 2.1 with PKCE and dynamic client registration, scopes `mcp:read` / `mcp:write`). Hosts add the URL in Claude (Settings → Connectors → Add custom connector), Claude Code (`claude mcp add --transport http repull https://repull.dev/mcp`), Cursor (`{"mcpServers":{"repull":{"url":"https://repull.dev/mcp"}}}`) or VS Code, then sign in to Repull. 70 tools (37 read, 33 write) over reservations, guests, messages, inquiries, calendars, prices, promotions, listings, reviews, payouts and Airbnb Resolution Center cases, across Airbnb, Booking.com, Vrbo and 14 PMSes (beta). Read-only approvals never list the write tools. $5 per listing per month, 7-day trial. Official MCP Registry name: `dev.repull/mcp`. Guides: https://repull.dev/airbnb-mcp · https://repull.dev/booking-com-mcp · https://repull.dev/vrbo-mcp ### MCP server (`@repull/mcp`) ```json { "mcpServers": { "repull": { "command": "npx", "args": ["-y", "@repull/mcp"], "env": { "REPULL_API_KEY": "sk_live_…" } } } } ``` Source: https://github.com/ivannikolovbg/repull-mcp. The binary is `repull-mcp`. Add to Claude Desktop / Cursor / Windsurf / any MCP client. ### Vercel AI SDK provider (`@repull/ai-sdk`) ```ts import { streamText } from 'ai' import { repullTools } from '@repull/ai-sdk' const result = await streamText({ model: openai('gpt-4o'), tools: repullTools({ apiKey: process.env.REPULL_API_KEY! }), prompt: 'Find the comp set for listing 123 and recommend a price for next Friday.', }) ``` Source: https://github.com/ivannikolovbg/repull-ai-sdk. v0.1.0 on npm. ### Connect Widget A hosted picker, not a package: `POST /v1/connect` returns a one-time URL on connect.repull.dev, you send the user there, and they come back to your `redirectUrl` connected. There is nothing to install. See https://repull.dev/docs/connect-widget. ### CLI Not published to npm yet — the commands below describe the surface as it will ship. Use the MCP server or an SDK for terminal and agent work today. ```bash repull login repull properties list repull reservations list --platform airbnb --status confirmed repull airbnb push --listing 6248 repull markets get lisbon repull pricing recommend --listing 6248 ``` --- ## 16. Open-source ecosystem Repull ships a complete open-source ecosystem. All MIT, all forkable, all production-ready. ### `repull-channel-manager` — full open-source channel manager GitHub: https://github.com/ivannikolovbg/repull-channel-manager A complete, brandable channel manager template built on Next.js 16. Includes: - Multi-channel Connect picker baked in. - Listings table + create + AI content gen. - Guest messaging inbox — 3-pane UI, sync, send, draft, AI suggestions. - Reviews — list, respond, draft, AI suggestions, dashboard stats. - Polished footer. Fork it, brand it, ship it. ### `repull-mcp` — MCP server GitHub: https://github.com/ivannikolovbg/repull-mcp. Package: `@repull/mcp` on npm. ### `repull-ai-sdk` — Vercel AI SDK provider GitHub: https://github.com/ivannikolovbg/repull-ai-sdk. Package: `@repull/ai-sdk` on npm. ### `repull-sdk` — TypeScript SDK + demo + skeleton GitHub: https://github.com/ivannikolovbg/repull-sdk. Monorepo: - `packages/sdk` — `@repull/sdk` v0.1.0. - `packages/types` — generated types. - `apps/demo` — live SDK showcase with the multi-channel Connect picker as the primary CTA, deployed at https://repull-sdk-demo.vercel.app. - `apps/channel-manager` — the channel-manager skeleton. Marketing landing: https://repull.dev/open-source. --- ## 17. PMS connection guide (per platform) Each PMS connector is reached via `POST /v1/connect/{provider}` with either OAuth or credentials. The Connect picker handles the UX automatically; the direct API calls are below for advanced integrators. ### Hostaway **Auth**: OAuth 2.0 or `clientId` + `clientSecret`. Full property + reservation + messaging + availability sync. ### Guesty **Auth**: OAuth 2.0 or `clientId` + `clientSecret`. Properties, reservations, conversations, availability. Webhook sync available. ### OwnerRez **Auth**: OwnerRez account email + personal access token (`username`, `apiToken`; HTTP Basic). Properties, reservations, availability, pricing. OwnerRez limits a personal access token to two different accounts per IP address per 24 hours; its messaging and webhooks are for OAuth apps only, and its API cannot cancel a booking. Guide: https://repull.dev/docs/pms/ownerrez ### Smoobu **Auth**: HMAC API key + secret (`apiKey`, `apiSecret`); legacy single keys stopped working on October 31, 2026. Tick the key's Guest Data (PII) option for guest names, emails and phones. Properties, reservations, availability, guest messages. Guide: https://repull.dev/docs/pms/smoobu ### Beds24 **Auth**: a single-use API V2 invite code (`inviteCode`) with the scopes you grant; Repull exchanges it for refresh tokens. Property, reservation and availability sync; reservation writes need `write:bookings`, `bookings-personal` and `bookings-financial`. Guide: https://repull.dev/docs/pms/beds24 ### iGMS **Auth**: OAuth 2.0 access token from an iGMS Developer Program application (`accessToken`), with the `messaging` and `direct-bookings` scopes (plus `messaging-send` to reply). Listings, reservations, guests, nightly availability and price, message threads; text replies; create, change and cancel iGMS direct bookings at a set total (no quote). iGMS has no self-service webhooks. Guide: https://repull.dev/docs/pms/igms ### Hospitable **Auth**: personal access token (`accessToken`); API access needs a paid Hospitable plan. Properties, reservations, conversations. Guide: https://repull.dev/docs/pms/hospitable ### Lodgify **Auth**: account API key from Settings → Public API (`apiKey`). Properties, reservations, availability, pricing; guest threads are read, replies are not sent through Lodgify. Guide: https://repull.dev/docs/pms/lodgify ### BookingSync **Auth**: your Smily (BookingSync) OAuth app's `clientId` + `clientSecret`, plus the `accessToken` and `refreshToken` from authorizing it on your account; refresh tokens rotate on every use. Rentals, bookings, guests, nightly availability, inbox threads; quote, create, change and cancel bookings. Smily allows 1,000 requests per hour per app; private apps reach 5 accounts. Guide: https://repull.dev/docs/pms/bookingsync ### Cloudbeds **Auth**: property or organization API key (`POST /v1/connect/cloudbeds/credentials`). Hotel model: each room type is a listing and its rooms are units. Reservations, guests, rates, restrictions and availability; Repull writes prices, restrictions and reservations back. Cloudbeds can refuse a request with HTTP 200 and `success: false`, which Repull reports as an error. Guide: https://repull.dev/docs/pms/cloudbeds ### Mews **Auth**: Mews access token for the property (`POST /v1/connect/mews/credentials`); Repull holds the integration's client token. Each room type (resource category) is a listing and its rooms are units. Reservations, rates, restrictions and availability are read and written; Mews has no guest-messaging API. Guide: https://repull.dev/docs/pms/mews ### CiiRUS **Auth**: API username and password (HTTP Basic, `POST /v1/connect/ciirus/credentials`); CiiRUS only accepts calls from whitelisted IP addresses, so ask CiiRUS support to approve Repull for your API user. Units with content, reservations with the full charge breakdown, calendar, nightly rates, quotes and reviews. Guide: https://repull.dev/docs/pms/ciirus ### Track **Auth**: Track domain + API key and secret (`POST /v1/connect/track/credentials`). A Server Key (Configuration → Company Setup → API Keys) has full access and is recommended; a Channel Key (Configuration → PMS Setup → Distribution Channels) can only quote, create, confirm and cancel bookings. Units, reservations, guests, conversations, availability, rates and restrictions. Optional `credentials` settings: `moveReasonId` (needed to move a booking to another unit; without it a unit change is refused), `paymentTypeId` (Track payment type for payments taken elsewhere), `hmacRealm` (default `Acquia`), `secretIsBase64` (default `true`). Track has no webhooks: reservations and guest conversations are polled about every minute. Outbound guest messages are sent through Track; inbound messages from elsewhere cannot be written into Track. Guide: https://repull.dev/docs/pms/track ### RentalReady **Auth**: OAuth 2.0 through Repull Connect (sign in to RentalReady and authorize). Rentals (each rental is a listing; rooms of a building share a multi unit), reservations with channel, owner stays and the money breakdown, daily calendar (availability, price, minimum stay), guest conversations with replies on the conversation's channel. Writes: price, minimum stay, closing nights; Repull reopens only nights it closed — nights held by an owner stay or block made in RentalReady are refused. No per-night maximum stay or arrival/departure rules. Polled about every minute. Guide: https://repull.dev/docs/pms/rentalready ### Zeevou (built; not on the Connect picker until Zeevou certifies the app) **Auth**: OAuth 2.0 through Repull Connect (sign in to Zeevou and allow access). Hotel model: each unit type is a listing (`kind: "room_type"`) with its units; the property is the hotel (`GET /v1/hotels`). Bookings with the allocated unit; calendar with units left per night (`availableUnits`), price, min/max stay, closed to arrival/departure and stop-sell on the default rate plan (read and write). Guest messages are read only (Zeevou has no send endpoint). Polled about every minute. Guide: https://repull.dev/docs/pms/zeevou ### Coming soon Hostfully, Tokeet, Streamline, Uplisting, Apaleo, Escapia, Amenitiz. Not yet available through Repull — there is no connector to enable. Email hello@repull.dev if you want one prioritized. --- ## 18. Migration from Calry Two changes: 1. Swap base URL: `api.calry.com` → `api.repull.dev`. 2. Set `X-Schema: calry` (default — usually no change needed). Repull is a strict superset of Calry. Same response shapes, same field names, same auth model. New features (the Connect picker, webhooks, the open-source ecosystem) are additive and do not break existing Calry integrations. Full guide: https://repull.dev/docs/migrate-from-calry. --- ## Changelog (recent) ### 2026-05-01 - llms.txt + agents.txt + llms-full.txt full rewrite covering Connect picker, webhooks, the SDKs, MCP server, AI SDK provider, open-source ecosystem. ### 2026-04-30 → 2026-04-29 - `/dashboard/listings` full table with pagination + filters + Create CTA. - `/dashboard/listings/new` create + AI content generation + multi-channel publish. - `/open-source` ecosystem page. ### 2026-04-28 - Booking.com direct pricing endpoints (mirror Airbnb pattern). - Listings: `POST /v1/listings`, `POST /v1/listings/{id}/generate-content`, `/publish/airbnb`, `/publish/booking`, `/publish-status`. ### 2026-04-27 - Webhooks: subscription CRUD + signed delivery + test-fire + delivery history + replay + secret rotation + 14 event types. - Connect: multi-channel picker for every channel and PMS, real brand logos, branded sessions, host metadata enrichment. - Booking.com claim flow: `/verify` → `/rooms` → `/map-rooms` → CNS callback. - VRBO real connect (no longer a stub). The first nine PMS connectors de-stubbed. - API request logging + tier-based rate limits + `/v1/usage/summary`, `/v1/usage/logs`, `/v1/usage/tier`. - Hosted Connect picker at `connect.repull.dev` — session-based auth, no api-key on the client, `postMessage` on completion. - Permissive CORS for browser SDK consumers. ### 2026-04-26 → 2026-04-25 - White-label OAuth Connect (branding UI + customer docs). - New signups marked as Repull product (UX polish). - Pricing simplified — Free (3 listings), Starter ($99 / 10 listings), Scale (custom). - Five SDKs published — TypeScript, Python, PHP, Go, Ruby (all v0.1.0 with release workflows). The .NET client was tagged but never reached NuGet. - `@repull/mcp` (MCP server) and `@repull/ai-sdk` (Vercel AI SDK provider) v0.1.0 published. - `repull-channel-manager` open-source repo shipped.