Tokens let a page show each guest their own details, such as their booking reference or your property's name, without you typing them in. This article covers the new Guest app, built in the Guest App Builder. It explains what tokens are, which ones you can use with your PMS and integrations, and where they work.
What tokens are
A token is a placeholder in your text. When a guest opens the page, Bookboost swaps it for real information. For example, {{ reservation.booking_reference }} shows the guest's booking reference, and {{ property.name }} shows the property's name.
A token is written as a group, a dot, and a name, inside double curly brackets: {{ group.name }}.
How to add a token to a text element
Select the text element in the page.
In the Quick actions bar at the top of the right panel, click Insert token (the (+) icon). Typing
{does not open the list.Find the token with Search, or browse the lists under Popular and Other categories.
Click Add to insert it where your cursor is. Copy copies it instead.
Which tokens you have depends on your PMS and integrations
Tokens get their values from your reservation system and the integrations you use. A token that needs your PMS or an integration only shows a value when that PMS or integration is connected to your organisation.
The token list in the builder shows every token, whatever PMS you use. It does not hide the ones that are not available to you, and it does not mark them. That is why the tables below say which PMS or integration each token is for.
What happens when you use a token that is not available for your setup depends on the kind of token:
Tokens your PMS or an integration fills in show nothing when your PMS or integration is not listed in "Offered for". These are the tokens whose names start with a PMS or integration (such as
apaleo.,mews., oropera_cloud.), the four attributes groups (User, Booker, Primary guest, and Secondary guest), and the Property Info, Online CheckIn, Folios, Notes, Orders, Operator, and Legal groups. The page still loads, with that spot empty.All other tokens, such as the reservation, guest name, app, and property tokens, show a value whatever PMS you use, as long as the booking has that detail. For these, "Offered for" is a guide, not a limit. Check the result in Preview as Guest before you rely on it.
Meta tokens (see below) are always available. Which ones exist depends on the data in your organisation.
To check what a token shows for a real guest, use Preview as Guest in the app editor and pick a reservation (see Apps, pages, screens and elements in the new Guest App).
Every token, by group
The tables follow the groups in the builder's token list. The list also has a Guest group and a few shortcuts for common tokens, such as Guest first name and Booking reference. Meta tokens and loops are explained after the tables.
How to read the "Offered for" column:
Every PMS: offered for all the PMS systems listed in this article (Mews, Apaleo, Clock PMS, Opera Cloud, Shiji, and Smoobu).
A list of PMS names: offered for those systems only.
No PMS only: offered when no PMS is connected. Most of these still show a value when a PMS is connected. The exceptions are the tokens in the attributes groups (address, car registration number, and gender) and
legal.unsubscribe_link: with a PMS connected, they show nothing.Needs Code2order, Oaky or Goki: shows a value only when you use that integration.
Every setup: always available. It does not depend on your PMS.
Invoices
Token | What it shows | Offered for |
| Link to the debtor invoice as a PDF. Only relevant for the "invoice was created" and "invoice was cancelled" triggers. | Apaleo |
| Link to the debtor invoices. Can be empty if the debtor has none. | Apaleo |
| Link to the debtor invoice as a PDF. Only relevant for the "invoice was created" and "invoice was cancelled" triggers. | Shiji |
| Link to the debtor invoices. Can be empty if the debtor has none. | Shiji |
City Tax
Token | What it shows | Offered for |
| City tax, gross amount. | Apaleo |
| City tax, net amount. | Apaleo |
| City tax, tax amount. | Apaleo |
| Name of the city tax. | Apaleo |
| Type of the city tax. | Apaleo |
| City tax as a percentage. | Apaleo |
| Description of the city tax. | Apaleo |
Reservation
Token | What it shows | Offered for |
| Guest comment on the reservation. | Apaleo |
| Comment from the person who made the booking. | Apaleo |
| Internal hotel comment on the booking. | Apaleo |
| Self-service key in Clock PMS. | Clock PMS |
| Self-service PIN in Clock PMS. | Clock PMS |
| Id of the reservation. | No PMS only |
| Booking reference. | Every PMS |
| Channel category. | Mews, Clock PMS, Opera Cloud, Shiji, Smoobu |
| Channel segment. | Every PMS |
| Market category. | Mews, Shiji |
| Market segment. | Mews, Opera Cloud, Shiji, Smoobu |
| Number of adults. | Mews, Apaleo, Clock PMS, Opera Cloud, Smoobu |
| Number of children. | Mews, Clock PMS, Opera Cloud, Smoobu |
| Number of nights. | Mews, Apaleo, Clock PMS, Opera Cloud, Smoobu |
| Open balance. | Every PMS |
| Currency. | Every PMS |
| Guarantee type. | Mews, Apaleo, Opera Cloud, Smoobu |
| Total gross amount. | Mews, Apaleo, Clock PMS, Opera Cloud, Smoobu |
| Total gross amount per night. | Clock PMS, Opera Cloud, Smoobu |
| Subtotal amount. | Mews, Apaleo |
| Total tax. | Mews |
| Estimated start date and time. | Mews, Apaleo, Clock PMS, Opera Cloud, Smoobu |
| Estimated end date and time. | Mews, Apaleo, Clock PMS, Opera Cloud, Smoobu |
| Arrival date and time. | Mews, Apaleo, Opera Cloud, Smoobu |
| Departure date and time. | Mews, Apaleo, Opera Cloud, Smoobu |
| Status of the reservation. | Mews, Apaleo, Clock PMS, Opera Cloud, Smoobu |
| List of the products on the reservation. | Mews, Shiji |
| Unique identifier of the reservation. | Every PMS |
| Date and time the booking was made. | Mews |
| Date the reservation was marked as cancelled. | Every PMS |
| List of notes on the reservation. | Mews, Apaleo |
| Link to view gate access controls. | Needs Goki |
| Daily pricing of the reservation. This is a loop: see "Loops" below. | Opera Cloud |
Notes
Token | What it shows | Offered for |
| Client request notes in Clock PMS. | Clock PMS |
Online CheckIn
Token | What it shows | Offered for |
| Online check-in URL for Clock PMS. | Clock PMS |
Folios
Token | What it shows | Offered for |
| Folios URL for Clock PMS. | Clock PMS |
User
Token | What it shows | Offered for |
| Full name of the user. | Every PMS |
| Salutation. | Every PMS |
| First name. | Every PMS |
| Last name. | Every PMS |
| Email. | Every PMS |
| Phone number, formatted. | Every PMS |
| Phone number, unformatted. | Every PMS |
| Tags on the user. | Apaleo, Clock PMS, Opera Cloud, Shiji, Smoobu |
User Attributes
Token | What it shows | Offered for |
| Address of the user. | Mews |
| Car registration number. | Mews |
| Gender, if available. | Every PMS |
Booker
Token | What it shows | Offered for |
| Full name of the booker. | Mews, Apaleo |
| Salutation. | Mews, Apaleo |
| First name. | Mews, Apaleo |
| Last name. | Mews, Apaleo |
| Email. | Mews, Apaleo |
| Phone number, formatted. | Mews, Apaleo |
| Phone number, unformatted. | Mews, Apaleo |
Booker Attributes
Token | What it shows | Offered for |
| Address of the booker. | No PMS only |
| Car registration number. | No PMS only |
| Gender, if available. | Mews, Apaleo |
Primary guest
Token | What it shows | Offered for |
| Full name of the primary guest. | Mews, Apaleo, Opera Cloud, Smoobu |
| Salutation. | Mews, Apaleo, Opera Cloud, Smoobu |
| First name. | Mews, Apaleo, Opera Cloud, Smoobu |
| Last name. | Mews, Apaleo, Opera Cloud, Smoobu |
| Email. | Mews, Apaleo, Opera Cloud, Smoobu |
| Phone number, formatted. | Mews, Apaleo, Opera Cloud, Smoobu |
| Phone number, unformatted. | Mews, Apaleo, Opera Cloud, Smoobu |
Primary guest attributes
Token | What it shows | Offered for |
| Address of the primary guest. | No PMS only |
| Car registration number. | No PMS only |
| Gender, if available. | Mews, Apaleo, Opera Cloud, Smoobu |
Secondary guest
Token | What it shows | Offered for |
| Full name of the secondary guest. | No PMS only |
| Salutation. | No PMS only |
| First name. | No PMS only |
| Last name. | No PMS only |
| Email. | No PMS only |
| Phone number, formatted. | No PMS only |
| Phone number, unformatted. | No PMS only |
Secondary guest attributes
Token | What it shows | Offered for |
| Address of the secondary guest. | No PMS only |
| Car registration number. | No PMS only |
| Gender, if available. | No PMS only |
Reservation Set
Token | What it shows | Offered for |
| Reference of the reservation set. | Mews, Apaleo |
| Number of adults in the set. | Apaleo |
| Estimated start date and time of the set. | Mews |
| Estimated end date and time of the set. | Mews |
| Number of rooms in the set. | Mews |
| Every reservation in the set, sorted by reservation id, for looping over. | Mews, Apaleo |
App
Token | What it shows | Offered for |
| Name of the app. | No PMS only |
| Display name of the app. | No PMS only |
| Legal name of the app. | No PMS only |
| Logo URL of the app. | No PMS only |
| Unique identifier of the app. | No PMS only |
| A custom meta value stored on the app. See "Meta tokens" below. | Every setup |
Property
Token | What it shows | Offered for |
| Name of the property. | Every PMS |
| Description of the property. | Every PMS |
Property Address
Token | What it shows | Offered for |
| Address line 1. | Every PMS |
| Address line 2. | Every PMS |
| City. | Every PMS |
| Country. | Every PMS |
| Zip code. | Every PMS |
Property Info
Token | What it shows | Offered for |
| Address. | Every PMS |
| Domain. | Every PMS |
| Email. | Every PMS |
| Favicon URL. | Every PMS |
| Logo URL. | Every PMS |
| Phone. | Every PMS |
| SMS number. | Every PMS |
| Webclip URL. | Every PMS |
| Website. | Every PMS |
| WhatsApp number. | Every PMS |
Rate Plan
Token | What it shows | Offered for |
| Name of the rate plan. | Mews, Apaleo, Clock PMS, Opera Cloud, Shiji |
| Code of the rate plan. | Mews, Apaleo, Clock PMS, Opera Cloud, Shiji |
| Description of the rate plan. | Mews, Apaleo, Opera Cloud, Shiji |
| A custom meta value stored on the rate plan. See "Meta tokens" below. | Every setup |
Rate Plan Group
Token | What it shows | Offered for |
| Name of the rate plan group. | Mews |
| Code of the rate plan group. | Mews |
| Description of the rate plan group. | Mews |
Channel Manager
Token | What it shows | Offered for |
| Channel manager name. | Mews, Apaleo |
| Channel manager number. | Mews, Apaleo |
| Channel manager group number. | Mews, Apaleo |
| Channel number. | Mews, Apaleo |
Cancellation Policy
Token | What it shows | Offered for |
| Name of the cancellation policy. | Apaleo, Opera Cloud, Shiji, Smoobu |
| Code of the cancellation policy. | Apaleo, Opera Cloud, Shiji, Smoobu |
| Description of the cancellation policy. | Apaleo, Opera Cloud, Shiji, Smoobu |
No Show Policy
Token | What it shows | Offered for |
| Name of the no show policy. | Apaleo, Shiji |
| Code of the no show policy. | Apaleo, Shiji |
| Description of the no show policy. | Apaleo, Shiji |
Deposit Policy
Token | What it shows | Offered for |
| Name of the deposit policy. | Shiji |
| Code of the deposit policy. | Shiji |
| Description of the deposit policy. | Shiji |
Room
Token | What it shows | Offered for |
| Name of the room. | Mews, Apaleo, Opera Cloud, Shiji, Smoobu |
| Room number. | Every PMS |
| Floor. | Mews, Shiji |
| Building number. | No PMS only |
| Description of the room. | Mews, Apaleo |
| The reservation room code. | Needs Goki |
| A custom meta value stored on the room. See "Meta tokens" below. | Every setup |
Room Type
Token | What it shows | Offered for |
| Name of the room type. | Every PMS |
| Code of the room type. | Every PMS |
| Description of the room type. | Mews, Apaleo, Shiji |
| A custom meta value stored on the room type. See "Meta tokens" below. | Every setup |
Booked Space Type
Token | What it shows | Offered for |
| Name of the booked space type. | Apaleo, Opera Cloud, Smoobu |
| Code of the booked space type. | Apaleo, Opera Cloud, Smoobu |
| Description of the booked space type. | Apaleo |
| A custom meta value stored on the booked space type. See "Meta tokens" below. | Every setup |
Space Type to charge
Token | What it shows | Offered for |
| Name of the space type charged. | Opera Cloud, Smoobu |
| Code of the space type charged. | Opera Cloud, Smoobu |
| Description of the space type charged. | No PMS only |
| A custom meta value stored on the space type charged. See "Meta tokens" below. | Every setup |
Connector
Token | What it shows | Offered for |
| Name of the reservation connector. | No PMS only |
| Reservation id in the connector. | Mews |
Reservation Set Connector
Token | What it shows | Offered for |
| Reservation set id in the connector. | Mews |
PMS
Token | What it shows | Offered for |
| Name of the PMS. | No PMS only |
| Reservation id in the PMS. | No PMS only |
Consent
Token | What it shows | Offered for |
| Description of what the guest gave consent to. | No PMS only |
| Name of the consent. | No PMS only |
Double Opt-in
Token | What it shows | Offered for |
| Confirmation URL for double opt-in. | Every PMS |
Company
Token | What it shows | Offered for |
| Company name. | Mews |
Orders
Token | What it shows | Offered for |
| List of the order numbers on the reservation. | Apaleo |
| Items on the reservation, with product details. This is a loop: see "Loops" below. | Mews, Apaleo, Opera Cloud, Shiji |
| List of the unique products on the reservation. | Mews, Apaleo, Opera Cloud, Shiji |
Legal
Token | What it shows | Offered for |
| Unsubscribe link of a campaign. Meant for messages, not pages. | No PMS only |
Code2order
Token | What it shows | Offered for |
| Guest App login URL for Code2order. | Needs Code2order |
| Guest App door link for Code2order. | Needs Code2order |
| Guest App check-in link for Code2order. | Needs Code2order |
| Guest App check-out link for Code2order. | Needs Code2order |
| Guest App reservation link for Code2order. | Needs Code2order |
| Guest App vCard link for Code2order. | Needs Code2order |
| Guest App Wi-Fi link for Code2order. | Needs Code2order |
Operator
Token | What it shows | Offered for |
| First name of the operator. | Every PMS |
| Last name of the operator. | Every PMS |
Gates
Token | What it shows | Offered for |
| The gate codes available for the reservation. | Needs Goki |
Mews
Token | What it shows | Offered for |
| Mews integration id. | Mews |
| Mews check-in link for the primary guest. | Mews, and the Mews guest portal links setting must be on for your organisation |
| Mews homepage link for the primary guest. | Mews, and the Mews guest portal links setting must be on for your organisation |
| Mews kiosk check-in QR code, as an image URL. Use inside an image element. | Mews |
| Raw data of the Mews kiosk check-in QR code. | Mews |
| Access token of the guest to a reservation space. | Mews |
| Access token of the guest to a reservation space, within its validity period. | Mews |
Oaky
Token | What it shows | Offered for |
| Login URL to the Oaky portal. | Needs Oaky |
Brand Colours
These tokens give you the colours from your brand library, so a page can follow your brand. Write them as brand_color.<name>.
Token | What it shows | Offered for |
| The brand colour. | Every setup |
| The accent colour. | Every setup |
| The button text colour. | Every setup |
| The header text colour. | Every setup |
| The paragraph colour. | Every setup |
| The success colour. | Every setup |
| The error colour. | Every setup |
These seven always have a value: if your brand has not set one, a default colour is used. If your organisation adds its own named colours, each one gets a token too, written as brand_color.<name>.
Brand Custom Assets
Each custom image in your brand library has its own token, written as brand_custom_asset.<name>. The token shows that image.
Token | What it shows | Offered for |
| The custom image with that name. | Every setup |
Meta tokens
Some groups let you store your own values, called meta values. Each one gets a token that you write with the name of the value:
Token | What it shows | Offered for |
| A meta value on the app. | Every setup |
| A meta value on the rate plan. | Every setup |
| A meta value on the room. | Every setup |
| A meta value on the room type. | Every setup |
| A meta value on the booked space type. | Every setup |
| A meta value on the space type charged. | Every setup |
The keys you see in the token list are the ones defined in your organisation.
Loops
Two tokens give you a list, so you write them as a loop. A loop repeats the lines between for and endfor once for every item.
Orders and their items (offered for Mews, Apaleo, Opera Cloud, and Shiji):
{% for item in orders.items %}{{ item.name }}, {{ item.quantity }}, {{ item.price }}, {{ item.from }}, {{ item.to }}, {{ item.product_name }}, {{ item.product_description }}, {{ item.product_sku }}, {{ item.product_price }}, {{ item.product_currency }}{% endfor %}
Daily pricing (Opera Cloud only):
{% for item in opera_cloud.daily_pricing %}{{ item.date }}, {{ item.gross }}, {{ item.tax }}, {{ item.converted_gross }}, {{ item.converted_tax }}, {{ item.currency }}{% endfor %}
reservation_set.reservation_objects is a list as well, to loop over in the same way.
Links to your old Guest app pages and forms
When a button's Link to is set to External URL, the URL list suggests entries such as {{dr_page('/page/home-page')}} or {{dr_page('/form/online-check-in')}}. Point at one to see its name, for example Page: Home page.
These are not tokens. They are links to the pages and forms in your organisation's old Guest app. Use them to point a link at one of those old pages or forms. To link to a page or form in the new Guest app, set Link to to Page or Form instead. These entries do not show up in the token list.
Where tokens work
Pages, forms, and campaign messages fill in tokens the same way. A token that works in a campaign works in a page, with two conditions:
The guest needs a reservation behind the page. The page has to be opened through a personalised link that carries the guest's reservation. If someone opens it without that link, reservation tokens are empty.
The token has to be available for your setup. See "Which tokens you have depends on your PMS and integrations" above.
Naming traps
Some names look right and show nothing. The most common:
If you write | You get | Write this instead |
| Nothing. It is not a token. |
|
| Nothing. It is not a token. |
|
reservation.start and reservation.end are the estimated start and end of the stay. reservation.arrival_date_time and reservation.departure_date_time are the arrival and departure date and time.
If a token shows nothing, compare its name letter for letter with the tables above.
Functions
A function does something with the guest or reservation and puts the result on the page. You write it with brackets, like {{ qr_code('value') }}. Functions work the same way as in campaigns, so the ones below work in pages.
Function | What it does |
| Gives the external link of that type attached to the guest's reservation. |
| Gives the reservation's reference in an external system, for the external system code registered on your account. |
| Gives a link to one of your apps. Campaigns use it to link guests to an app. |
| Shows a QR code for the value. |
| Generates a door access code from the reservation's arrival date, a salt and a room identifier. Use |
| Gives a ReviewPro survey link, filled in with the guest and reservation. |
| Gives the active operator for the app, with |
| Shows a reusable content block by name. |
| Adds a signature to a link. |
encrypt, decrypt, encode, and decode are also available, as helpers for encoding data. Two further functions, unsubscribe_link() and view_in_browser(), are for email messages and do nothing useful on a page.
Does reservation_ext_link work in a page?
Yes. A page is filled in the same way as a campaign, so {{ reservation_ext_link('type') }} works in a Guest app page. The guest has to open the page through a personalised link that carries their reservation, and the reservation needs an external link of that type.
Need Help?
Click your organisation name at the top left of the platform and choose Talk to us, or email [email protected]. We are happy to help.
Include the token or function exactly as you wrote it, the PMS your property uses, and whether it was in a page or a campaign message.