Connect Booking.com
Let your users link their Booking.com account through a hosted, white-label connect page — the same model as connecting Airbnb. Your server mints a session, you send the user to a single URL, and they finish the link inside their own Booking.com Extranet.
How it works
From your server, you create a connect session. We give you a one-time URL on connect.repull.dev. Send your user there. The hosted page walks them through linking the connectivity provider in their Booking.com Extranet, then redirects them back to your app when they're done.
- Your server calls
POST /v1/connect/bookingwith aredirectUrl. - We return a
url— a hosted page onconnect.repull.dev. - Redirect your user to
url. - On the hosted page, they open the Booking.com Extranet, enable the connectivity provider, and paste their Hotel ID (steps below).
- On success, the user lands back on your
redirectUrl.
Same model as connecting Airbnb
Start a connect session
Server-to-server. Authenticate with your live API key. Unlike Airbnb, there is no accessType for Booking.com — the connection is full property management.
curl -X POST 'https://api.repull.dev/v1/connect/booking' \
-H 'Authorization: Bearer sk_live_...' \
-H 'Content-Type: application/json' \
-d '{
"redirectUrl": "https://yourapp.com/connected"
}'Body parameters
redirectUrlstringRequiredWhere we send the user after they finish (or abandon) the connect flow. We preserve your existing query params and append our own.
Response
{
"url": "https://connect.repull.dev/cs_8gQrT2v9k3M4nLp7wJxYzAbCdEfGhIj",
"sessionId": "cs_8gQrT2v9k3M4nLp7wJxYzAbCdEfGhIj",
"expiresAt": "2026-06-25T18:25:14.000Z"
}url— the one-time hosted connect page. Redirect your user here.sessionId— the session identifier, in case you want to reference it later.expiresAt— when the link stops working if the user hasn't finished. Mint a new session after this.
What the user does on the hosted page
The hosted page guides the user through enabling the connectivity provider in their Booking.com Extranet. The steps they follow:
- Sign in to the Booking.com Extranet.
- Open Connectivity Providers.
- Search for FantasticStay in the provider list.
- Click Connect next to FantasticStay.
- Paste their Hotel ID when prompted on the hosted page.
The provider is called FantasticStay
They need their Booking.com Hotel ID
Handle the redirect back
When the user finishes the connect flow, we redirect them to your redirectUrl. From there, confirm the connection from your server with GET /v1/connect/booking and start managing the property.
curl 'https://api.repull.dev/v1/connect/booking' \
-H 'Authorization: Bearer sk_live_...'
# {
# "connected": true,
# "provider": "booking",
# "status": "active"
# }Once connected, you can manage properties, content, pricing, availability, messaging, and reservations on Booking.com. See the Booking.com channel guides for everything you can do next.