Confirm a hotel reservation on WhatsApp with dates, room type and booking reference. Utility template for hotels and travel agencies.
Share of submissions of this template that Meta approved.
✳Approval tip
Include check-in and check-out dates and a reference; booking details are the clearest utility signal.
Reservation confirmed
Hi {{first_name}}, your stay at *{{hotel}}* is confirmed. Check-in is on {{checkin}} and check-out on {{checkout}}, in a {{room}} room. Your booking reference is {{booking_ref}}. We look forward to hosting you!
Acme Grand Hotel{{first_name}}Emma{{hotel}}Acme Grand Hotel{{checkin}}Dec 3{{checkout}}Dec 6{{room}}Deluxe King{{booking_ref}}AG-90412{{ref}}AG90412</>For developers
The template as JSON for @talqui-oss/template-builder, and the Cloud API request that creates it. Replace the $ variables with your account values.
travel_booking_confirmation_hotel.json
{
"name": "travel_booking_confirmation_hotel",
"language": "en_US",
"category": "UTILITY",
"header": {
"type": "TEXT",
"text": "Reservation confirmed"
},
"body": {
"text": "Hi {{first_name}}, your stay at *{{hotel}}* is confirmed. Check-in is on {{checkin}} and check-out on {{checkout}}, in a {{room}} room. Your booking reference is {{booking_ref}}. We look forward to hosting you!"
},
"footer": {
"text": "Acme Grand Hotel"
},
"buttons": [
{
"type": "URL",
"text": "Manage booking",
"url": "https://acmegrand.com/booking/{{ref}}"
}
],
"variables": {
"first_name": {
"example": "Emma"
},
"hotel": {
"example": "Acme Grand Hotel"
},
"checkin": {
"example": "Dec 3"
},
"checkout": {
"example": "Dec 6"
},
"room": {
"example": "Deluxe King"
},
"booking_ref": {
"example": "AG-90412"
},
"ref": {
"example": "AG90412"
}
}
}Create with the Meta Cloud API
curl -X POST "https://graph.facebook.com/v26.0/$WABA_ID/message_templates" \
-H "Authorization: Bearer $META_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "travel_booking_confirmation_hotel",
"language": "en_US",
"category": "UTILITY",
"parameter_format": "NAMED",
"components": [
{
"type": "HEADER",
"format": "TEXT",
"text": "Reservation confirmed"
},
{
"type": "BODY",
"text": "Hi {{first_name}}, your stay at *{{hotel}}* is confirmed. Check-in is on {{checkin}} and check-out on {{checkout}}, in a {{room}} room. Your booking reference is {{booking_ref}}. We look forward to hosting you!",
"example": {
"body_text_named_params": [
{
"param_name": "first_name",
"example": "Emma"
},
{
"param_name": "hotel",
"example": "Acme Grand Hotel"
},
{
"param_name": "checkin",
"example": "Dec 3"
},
{
"param_name": "checkout",
"example": "Dec 6"
},
{
"param_name": "room",
"example": "Deluxe King"
},
{
"param_name": "booking_ref",
"example": "AG-90412"
}
]
}
},
{
"type": "FOOTER",
"text": "Acme Grand Hotel"
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "URL",
"text": "Manage booking",
"url": "https://acmegrand.com/booking/{{1}}",
"example": [
"https://acmegrand.com/booking/AG90412"
]
}
]
}
]
}'+Related