Room number + surname: Cloudbeds
Connect your Cloudbeds API key to Hotspotly so in-house guests can go online with their room number and surname.
This guide connects your hotel's Cloudbeds account to Hotspotly. On the login page the guest types their room number and surname. Hotspotly compares them with the in-house (checked-in) reservations in Cloudbeds and connects the guest if they match. When the guest checks out, their access ends too.
What you get:
- A login method that only in-house guests can use, with no passwords handed out at the front desk.
- No webhook setup: Hotspotly queries Cloudbeds itself.
- When a guest checks out, their account is closed and any open session is disconnected.
Verify the first setup with support
The Cloudbeds connection follows Cloudbeds' published API documentation and is covered by tests, but it has not yet been tried end to end with a real Cloudbeds hotel account. On your first setup, try a login with a test guest and share the result with our support team.
How it works
| When | What Hotspotly does |
|---|---|
| Every 10 minutes | Fetches all in-house (checked_in) reservations from Cloudbeds and treats the ones that dropped off as checked out |
| When a guest logs in | If the reservation is not in Hotspotly yet, it queries Cloudbeds live (the list is shared from a 30-second cache) |
| After check-out | The reservation closes at the next poll at the latest (10 min); new logins are refused |
This lets a guest log in right after check-in, without waiting for the 10-minute poll.
Before you start
- A hotspot that is set up and working: Your first hotspot.
- Permission to create API credentials in your Cloudbeds account (usually the account owner or an admin user).
- Room names in Cloudbeds that match the room number the guest knows (for example
101,Suite 2). - Nothing to change on the router. The Hotspotly server makes the query; the guest does not need to reach Cloudbeds before logging in, so you add nothing to the walled garden.
- Your package includes the Hotel PMS integration module. If it does not, the method row in the login page designer shows Unavailable with "This method is not included in your package." and saving its settings is refused, and the method is not offered on the guest page. Upgrade with Upgrade on your dashboard (or the Upgrade package button on a locked card), or ask your reseller.
1. Create an API key in Cloudbeds
Hotspotly does not sign in to your Cloudbeds account. Do these steps in your own account. Menu names may change over time; when in doubt, follow Cloudbeds' official guide.
- Sign in to Cloudbeds at signin.cloudbeds.com.
- In the top right, open Account → Apps & Marketplace, then use the top menu to go to the API Credentials page.
- Click + New Credentials. Name the integration (for example
Hotspotly) and pick the closest category. The Redirect URI field is not used for API keys; enter the value the Cloudbeds guide suggests. If you have a single property, leave Enable for entire organization unticked. Click Save. - Close the Client ID / Shared Secret window; Hotspotly does not need these values.
- Find the new row in the API Credentials table, scroll right and click Create in the API Key column.
- Select the scopes: Hotspotly only needs to read reservations and guest details and to see hotel details. Do not grant write scopes. See the Cloudbeds documentation for the exact scope names.
- Confirm with Create and, if asked, approve the scopes with your Cloudbeds login.
- Copy the key right away. It starts with
cbat_and is shown only once.
Property ID
If you created the key with Enable for entire organization for several properties, also note the ID of the property you want to connect (Property ID). A single-property key does not need it.
Keep the key safe
The key can read your reservations and guest details. Do not share it by email or in a chat group; if a reseller is doing the setup, use the secure channel you agreed on. If the key leaks, revoke it in Cloudbeds and create a new one.
2. Set up the Cloudbeds connection in the panel
- In the panel, open Integrations → PMS and connectors and scroll to the Hotel Automation Integration (PMS) card.
- Tick Enable hotel automation integration.
- In PMS Provider, choose Cloudbeds.
- Choose a hotspot in Default Hotspot. This field is informational only: reservations are valid on all hotspots in your account.
- Fill in API Key (Authentication) in the format below (exactly as in the code block, with no spaces).
- In Guest User Settings, set the guest limits: Data Limit (GB), Time Limit (hours), Device Limit. An empty data or time limit means unlimited.
- Leave "Automatically delete user when guest checks out" on, so a checked-out guest's account is closed and their open session is disconnected.
- Click Save Integration Settings, then Test.
<API_KEY>: the key you created in Cloudbeds, starting withcbat_.<PROPERTY_ID>: only needed for a multi-property key. For a single-property key you can drop the last part and writecloudbeds|<API_KEY>.
You do not need the webhook fields
The webhook URL and webhook key on the card are for setups where the PMS sends notifications to Hotspotly (Custom PMS integration). With Cloudbeds, Hotspotly fetches reservations itself; do not set up a webhook in Cloudbeds.
Do not click "Refresh"
The Refresh button next to the API key generates a random new key and puts it in the field, replacing your Cloudbeds key. If you save it, the connection breaks. If you clicked it by mistake, reload the page without saving.
For security, the saved key is shown masked (••••) and cannot be viewed in full again. To change
it, type the new key into the field from scratch. If you switch to Cloudbeds from another provider,
you must enter the key again as well.
For admins and resellers
If you are setting this up for a customer, the same fields are on the customer's PMS page.
- Admin: Customers → customer → Edit PMS settings.
- Reseller: customer detail → PMS Settings.
Choose Cloudbeds as Provider, enter the format above in API key, save and test.
3. Turn on the method on the login page
- Hotspots → your hotspot → Design → Methods.
- If Room number (PMS) is not in the list, add it with Add method and click Add.
- Click Publish.
If the row shows the Unavailable badge and the note "The PMS integration is off; room number login is not shown on the page.", you have not turned on and saved the integration in step 2.
4. Verify
- After Test you should see the notification "Test başarılı: Cloudbeds: <your hotel name>" (server messages are in Turkish). The result is also written to the Integration Logs list.
- Prepare a checked-in test reservation in Cloudbeds (a room must be assigned).
- Connect a phone to the guest network and open Login with Room Number on the login page.
- Fill in Room Number and Last Name and connect.
- Check the reservation out in Cloudbeds. Within 10 minutes the session should drop, and a new login with the same details should be refused.
Matching rules:
| Rule | Details |
|---|---|
| Room number | Spaces and letter case do not matter: Suite 2 = SUITE2 = suite2. Up to 20 characters |
| Surname | Exact match; letter case and Turkish letters are ignored (Yılmaz = YILMAZ = Yilmaz) |
| Multi-word surname | The guest types the whole surname (Yılmaz Kaya); one word is not enough |
| Multi-room reservation | Each room is a separate record; the guest types the number of the room they are assigned to |
| Several guests in one room | Every guest assigned to the room can log in with their own surname |
| No room assigned | Login is not possible; assign the room in Cloudbeds |
| Failed attempts | 5 failed attempts per room and device IP in 15 minutes; then the guest waits 15 minutes |
Troubleshooting
Panel messages from the server are in Turkish; the English meaning is in brackets.
| Symptom | Likely cause | Fix |
|---|---|---|
"This method is not included in your package." on the method row, or saving the settings fails with 403 |
Your package does not include Hotel PMS integration; the server answers 403 ENTITLEMENT_REQUIRED |
Upgrade with Upgrade on the dashboard to a package with the module, or ask your reseller. Existing data is kept; the module opens within 1 minute. |
| Test: "PMS entegrasyonu aktif değil" (integration not active) | The integration box is not ticked or settings were not saved | Tick the box, click Save Integration Settings first, then test |
| Test: "apiKey formatı: …" (key format) | The key does not start with cloudbeds| or contains spaces |
Retype the value as cloudbeds|<API_KEY>|<PROPERTY_ID> |
| Test: "Cloudbeds hata: kimlik bilgileri reddedildi" (credentials rejected) | Wrong or revoked key, or missing scopes | Check the key and scopes in Cloudbeds; create a new key if needed |
| Test: "Cloudbeds hata: istek başarısız (HTTP …)" (request failed) | Wrong Property ID or an error on the Cloudbeds side | Check the Property ID (remove it for a single property); contact support if it persists |
| Test: "Cloudbeds hata: sunucuya ulaşılamadı" (server unreachable) | Cloudbeds is temporarily unreachable | Try again in a few minutes |
| Save: "Sağlayıcı değiştirildiğinde API anahtarı yeniden girilmelidir" (re-enter key) | You changed provider and the key field stayed masked | Type the Cloudbeds key into the field again and save |
| Save: "Maskeli API anahtarı düzenlenemez; …" (masked key cannot be edited) | Part of the masked value was deleted and typed over | Clear the field completely and type the key from scratch, or reload the page |
| Guest: "Room number or last name is incorrect" | Not checked in, no room assigned, or the surname differs | In Cloudbeds, check the status is checked in, the room is assigned and the surname spelling |
| Guest: "Too many failed attempts. Please try again in 15 minutes." | 5 failed attempts in 15 minutes | Wait 15 minutes; check the details together with the front desk |
| Unavailable in the designer | The PMS integration is off | Tick the box in step 2 and save |
| A checked-out guest is still connected | The poll has not run yet, or auto checkout is off | Wait 10 minutes; check that "Automatically delete user when guest checks out" is on |
Security and privacy
- The Cloudbeds key is stored encrypted, shown masked in the panel and never written to logs.
- Hotspotly does not store the guest's name, email or phone. It keeps the room number, reservation number and dates; the surname is stored only as a one-way index.
- At login, the in-house list from Cloudbeds is kept in server memory for at most 30 seconds.
- The Integration Logs list shows no guest name or email; only the event, room and result. Reservation records that are no longer valid are deleted after 30 days.
- Guest logins are linked to the Turkish access logs. Make sure the privacy notice on your login page covers room number login: Legal texts and guest consent.
Next steps
- Room number + surname: Mews
- Custom PMS integration (webhook): if your PMS can send webhooks.
- Login methods overview