Developers can use the Beds24 API to set up custom connections to third-party systems. Beds24 offers different APIs for different use cases. For most projects, Beds24 recommends API V2.
API versions
| Version | Status | Documentation |
|---|---|---|
| API V2 | Recommended | Help pages: API V2 Interactive Swagger documentation: beds24.com/api/v2 |
| API V1 | Deprecated, not recommended for new projects | API V1 deprecated |
Note: Beds24 recommends not mixing API V1 and API V2.
Integration guides
- OTAs: How to connect to Beds24 using API V2
- Guest Services: How to connect to Beds24 using API V2
- PMSs: How to connect to Beds24 and use Airbnb via API V2
- PMSs: How to connect to Beds24 and use Booking.com via API V2
Learn how Beds24 works
For general information on how Beds24 works, start with the Introduction to Beds24.
Access, testing and cost
API V2 and booking webhooks are included in your normal account fee, with no per-call charge. You don't need a technology partnership to connect your own system, or your own AI assistant, to your own Beds24 account. A Marketplace listing is a separate, optional arrangement.
| Topic | What applies |
|---|---|
| Testing | Beds24 has no sandbox or test environment, and no test listings for Airbnb or any other channel. Use your own account, or a sub-account with a test property, and test carefully before going live. |
| Rate limit | The default limit is 100 credits per 5 minutes per account, which is approximately 1 million calls per month. You can increase it to 200 credits per 5 minutes for EUR 10.00 per month per account or sub-account. The API V1 limit cannot be increased. |
| Demo | Beds24 offers 15-minute one-to-one demos, which you can book at calendly.com/salesbeds24/beds24-demo. There is no API-specific demo. |
Activate the API and get a token
- Go to SETTINGS > MARKETPLACE > API.
- Click Generate invite code.
- Select the scopes you need, then click Generate invite code again, and copy the invite code.
- Exchange the code with
GET /authentication/setup. The response contains a short-term accesstoken,expiresIn(in seconds) and arefreshToken. - Send the access token in the
tokenheader on every call.
Note: Scopes are fixed when you create the invite code. To add a scope, such as channels, generate a new invite code and exchange it for a new refresh token.
Connect without customers logging in
To connect on behalf of a customer from your own server:
- Click the User icon > Account Management > Create New Sub Account and create the sub-account.
- In that sub-account, go to SETTINGS > MARKETPLACE > API.
- Select the write scopes you need.
- Enter your server's IP address in the IP whitelisting field, so that only that address can use the code.
- Click Generate invite code.
- Exchange the code once with
GET /authentication/setup, and renew the token withGET /authentication/token.
The token lasts 24 hours. The refresh token keeps working as long as you use it, and expires after 30 days without use. A long life token can't be used for this, because long life tokens are read-only.
Each customer connects through their own Beds24 account and their own API access, so each account has its own invite code and token. For multi-property setups, Beds24 supports several properties in one account, with a master account and sub-accounts, and a Reseller option with your own brand and sub-accounts. A Marketplace partner can also be whitelisted per function and scope. See Marketplace for Integration Partners.
Scopes and endpoints
| Data or action | Endpoint | Scope |
|---|---|---|
| Prices and minimum/maximum stay | POST /inventory/rooms/calendar |
write:inventory |
| Fees, discounts and booking rules | POST /channels/settings |
write:channels |
| Airbnb messages |
GET / POST /bookings/messages
|
bookings-personal |
| Invoice items | GET /bookings?includeInvoiceItems=true |
bookings-financial |
Airbnb content and settings through the API
You can write Airbnb content into Beds24 through the API, but you can't publish it to Airbnb through the API.
- Write Airbnb text per language with
POST /channels/settings, usingchannel: airbnbandtexts[]. Write property and room content withPOST /properties. - Content reaches Airbnb only when you click Update in SETTINGS > CHANNEL MANAGER > AIRBNB > MAPPING and tick the sections you want to send. There is no API call that triggers Update.
- With the Everything sync type (
full), Beds24 overwrites the Airbnb description and pictures on the next content send. With Prices and Availability or Limited, descriptions and pictures stay managed at Airbnb. - Airbnb applies its own formatting rules and character limits, and not every Beds24 field maps one-to-one to an Airbnb field. Check the Swagger schema for the fields you need.
- Settings written with
POST /channels/settingsgo out with the routine channel sync, which can take up to 15 hours. Update forces a push. - Availability changes are pushed immediately. Price changes reach Airbnb through scheduled syncs several times a day.
-
POST /channels/airbnbonly works on listings that already exist on Airbnb, so you can't create and publish a new listing through the API. Its actions areimportAsNewProperty,importToExistingProperty,connectToExistingRoomanddisconnectRoom. - The
connectvalue sets the Sync Type:nonestores the listing with nothing sent and no bookings imported,inventorysends inventory only (bookings are still imported),limitedsends everything that Prices and Availability sends plus the Pricing Settings, andfullalso sends content. Re-sendingconnectreturns "already used" instead of changing the connection. Change the Sync Type in SETTINGS > CHANNEL MANAGER > AIRBNB > MAPPING and save. - Writable fields in
POST /channels/settingsincludemultiplier,guestsIncluded,extraPersonPrice,earlyBirdDiscountPercent,earlyBirdDaysToCheckin,lastMinuteDiscountPercent,lastMinuteDaysToCheckin,advanceNoticeHours,maxDaysInAdvanceandnonRefundableDiscountPercent. The length-of-stay discount fields are read-only. Cleaning fee and pet fee. - Only Owner accounts can use the Airbnb API, and co-hosts can't connect. All listings managed through the API connection use instant booking on Airbnb.
- Disconnecting a listing resets values at Airbnb: the minimum stay returns to 1, closed to arrival and closed to departure are removed, and the maximum stay returns to 1125.
Booking.com content is sent in SETTINGS > CHANNEL MANAGER > BOOKING.COM > SYNC CONTENT with Update to Booking.com. There is no API call for this either.
Property content with GET /properties
Use GET /properties with these parameters to read content: includeAllRooms=true, includeTexts=all, includeLanguages=all (or a specific language), includeOffers=true and includePriceRules=true. Content fields include headline, descriptions, location description and directions.
Multilingual content is structured by language code. Text fields can contain language-specific variants, identified by standard language codes. If you don't specify a language, Beds24 returns the default language.
API V2 doesn't return property or room pictures. The includePictures parameter has no effect. Pictures are only available through API V1 getPropertyContent and setPropertyContent, which accept external public image URLs. Pictures you upload in SETTINGS > BOOKING ENGINE > PICTURES aren't returned by any API.
Financial data and reports
The API doesn't return villa-level booking financials or monthly revenue. Generate them with the standard and custom reports instead, for example Monthly Revenue and Monthly Revenue (average over stay) in the Financial section.
For a single booking, use GET /bookings?includeInvoiceItems=true with the bookings-financial scope to read its invoice items. There is no endpoint that returns an itemised per-night price breakdown.
Data the API doesn't provide
- Booking.com Market Insights and Property Scores aren't supported.
- The Google channel has no API V2 endpoint. Set up Google in SETTINGS > CHANNEL MANAGER > GOOGLE ADS in the control panel.
- Channel connection status and the result of the last Update are only shown in the control panel.
- Booking.com room mapping isn't available through the API. Map rooms in the control panel.
Distribute to Google
Google distribution is set up in the control panel at SETTINGS > CHANNEL MANAGER > GOOGLE ADS.
- Set Google Product to Google Hotel Ads or Google for Vacation Rentals (List Property).
- Set Synchronise to Enable or Notify for each room.
- Click View Mapping Data to check your data.
Requirements:
- Google for Vacation Rentals works per property with exactly one connected room per property. Use Google for Vacation Rentals (List Property) with Synchronise set to Notify.
- Each property needs its own address, name, city, state, postcode, country and latitude/longitude.
- Each property needs at least 8 active pictures in SETTINGS > BOOKING ENGINE > PICTURES.
- Google verification can take up to 14 days.
- Google Hotel Ads is only for hotels and hotel-type properties.
- The landing page is always the Beds24 booking page. Private Label runs the booking page on your own domain, but it isn't used as the Google landing page.
Point-of-sale (POS) systems
The Beds24 POS API lets an external POS system connect to Beds24. Menus are created within bookings, so you can select invoice items and send them to the POS system in a webhook to a URL the POS system specifies. The POS system can read and write invoice items on the booking, for example to add a payment. Developer documentation is at api.beds24.com/pos/v1.
- Go to (SETTINGS) MARKETPLACE > API POS.
- Copy the POS API token for sending to the integrated POS system.
- Enter the notify URL supplied by the POS system. You can enter several URLs, one per line, and add a name after a space on the same line.
- Under Room Mapping, enable synchronisation for the rooms to sync.
The POS system forwards the POS API token. Click Disable to disconnect a room.
Functions not available in API V2
If you need a function that isn't available in API V2, contact Beds24 via a support ticket, so Beds24 can check if it can be added.