Updated on November 10, 2026
To send a bus ticket on WhatsApp, a transportation company creates utility templates on the official WhatsApp Business API (purchase confirmation, boarding pass, trip reminder and delay alert) and triggers each one from its ticketing system. The boarding pass goes in the template header: a PDF with the ticket or an image with the QR code your system generates. In Brazil, each delivered utility template costs R$ 0.0350 (Brazilian reais).
This guide covers the message sequence for a trip, how to build the boarding pass template, the send payload and how to keep a delay alert from becoming marketing. The examples use Brazil, where intercity buses are a major way to travel, but the logic applies to any country.
The message sequence for a trip
The moments when a passenger actually wants to hear from you:
| Moment | System trigger | Content | Suggested buttons |
|---|---|---|---|
| Purchase confirmed | Payment approved | Origin, destination, date, time, seat | View ticket (URL) |
| Boarding pass | Ticket issued | PDF or QR code, platform, required ID | Directions (URL) |
| Trip reminder | X hours before departure | Time, terminal, how early to arrive | Reschedule (quick reply), Talk to support (quick reply) |
| Platform or gate change | Operational change | New boarding location | View on map (URL) |
| Delay | New departure estimate | New time and reason, if known | Reschedule (quick reply), Request refund (quick reply) |
| Cancellation | Trip canceled | What happens to the ticket and options | Reschedule (quick reply), Refund (quick reply) |
Start with the first four plus delays. A notice at every intermediate stop usually creates more noise than value.
Why it is utility and what turns it into marketing
Meta’s template categorization guidelines define utility as a non-promotional message that is specific to or requested by the user, or essential to them. A ticket the customer bought, its boarding pass and a delay on that trip all qualify: they are about the customer’s own transaction.
Mixed content breaks the category. Meta itself lists “upgrade to our premium cabin to enjoy new benefits” as a marketing example. On a bus, the equivalent is a trip reminder that says “switch to a sleeper seat for R$ 40 more”. Templates that mix utility and promotion are classified as marketing, and the cost for Brazil goes from R$ 0.0350 to R$ 0.3217 per delivered message.
Seat upgrades, travel insurance and a coupon for the return trip belong in a separate marketing template, sent only to people who opted in to offers. Buttons must fit too: reschedule and refund are actions on the ticket; “see deals” is not.
Our article on how Meta categorizes templates has more utility and marketing examples.
Want to try it while you read? Create a Vectalk account and send your first message through the official API. Create free account →
Boarding pass on WhatsApp: PDF or QR code
Meta’s Template Library has no ready-made travel or boarding pass templates: its use cases cover orders, deliveries, payments and accounts (Template Library). For transportation, you create your own utility template and submit it for review.
Utility templates support a text, image, video, document or location header, a body of up to 1,024 characters and up to 10 buttons (URL, phone number, quick reply, copy code and call request), according to the utility templates documentation. For the ticket, you have two options:
| Format | Header | When to use | File limit |
|---|---|---|---|
| PDF ticket | Document | The ticket has many fields (passenger, ID, seat, fare) and the customer may need to print it | 100 MB per document |
| QR code | Image (JPEG or PNG) | Boarding is validated by scanning a QR code on the phone screen | 5 MB per image |
File limits come from the media documentation. Your ticketing system generates the QR code; WhatsApp only carries the image.
Sample body for a boarding pass template:
“Hi {{1}}! Your boarding pass is above. Trip {{2}} → {{3}}, departing {{4}} at {{5}}, seat {{6}}. Show the QR code and a photo ID when boarding.”
And for the trip reminder:
“{{1}}, your trip to {{2}} leaves tomorrow at {{3}} from {{4}}. Please arrive early for boarding. Need to reschedule? Tap the button below.”
If a third-party platform sold the ticket, name the company operating the trip in the text so the passenger recognizes the sender.
Example: sending the boarding pass through the API
The send is a template with a document (or image) header component. The payload below uses the Vectalk endpoint, which accepts the same format as the Cloud API:
curl -X POST https://apis.vectalk.com.br/api/messages \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"messaging_product": "whatsapp",
"to": "5511999999999",
"type": "template",
"template": {
"name": "boarding_pass",
"language": { "code": "en_US" },
"components": [
{
"type": "header",
"parameters": [
{
"type": "document",
"document": {
"link": "https://tickets.example.com/b/8F3K2.pdf",
"filename": "boarding-pass-8F3K2.pdf"
}
}
]
},
{
"type": "body",
"parameters": [
{ "type": "text", "text": "Ana" },
{ "type": "text", "text": "São Paulo" },
{ "type": "text", "text": "Curitiba" },
{ "type": "text", "text": "Nov 12" },
{ "type": "text", "text": "10:30 PM" },
{ "type": "text", "text": "14" }
]
}
]
}
}'
For the QR code version, replace the header parameter with { "type": "image", "image": { "link": "https://..." } } and create the template with an image header. The link must stay public until Meta downloads the file. For variables, buttons and media headers in detail, see how to send a template through the API.
In your system, use an idempotency key per ticket and event, including the new estimate for delays: if departure changes twice, the passenger gets both alerts, but never the same alert twice.
Delays and cancellations: the moment that matters most
A delay is when passengers look for you the most. Three rules:
- Notify every passenger on the trip, not just those who asked. The delay event comes from your operations system, and each ticket on that trip gets an individual message.
- Give the new time, not just “delayed”. If there is no estimate yet, say when the next update will arrive.
- Offer an action. Quick reply buttons such as “Reschedule” and “Refund” start the conversation: when the passenger taps one, you receive a
buttonwebhook with the button text and thecontextof the original message, which identifies the ticket.
When the passenger replies, the 24-hour customer service window opens. Inside it you can send free-form text, a list of the next available departures or a rescheduling form. Watch the cost: since October 1, 2026, utility templates sent inside the window are charged too, while free-form replies are service messages, with 1,000 free per phone number per month (Meta pricing). Our article on service messages explains what counts as service.
Boarding point and location
Large bus terminals and curbside boarding points confuse passengers. Two options:
- Template with a location header. The trip reminder carries a map pin for the boarding point.
- Location message inside the window. If the passenger asks “where do I board?”, reply with a location message with latitude, longitude, name and address.
For charter and employee shuttles, the reverse also works: ask for the passenger’s location. See how to request and receive location.
If you also carry parcels, package tracking follows the logic of WhatsApp delivery notifications, with one template per stage.
Opt-in at checkout
The WhatsApp Business Messaging Policy only allows contacting people who gave you their number and opted in to receive messages from your business. The natural place is ticket checkout, on the website, in the app or at the counter:
“I want to receive my ticket and trip updates on WhatsApp.”
Meta recommends separate opt-ins by category (Get opt-in for WhatsApp). Keep “trip updates” as part of the purchase and put “offers and promotions” in a separate, unchecked box. Someone who only accepted updates should not get a holiday promotion.
Store the source and date of each opt-in. In Brazil, processing this data is also subject to the LGPD (Law 13,709/2018), the country’s data protection law, similar in spirit to the GDPR; this article is not legal advice.
Cost per ticket
For recipients in Brazil, since October 1, 2026:
| Message | Category | Meta cost per delivered message |
|---|---|---|
| Purchase confirmed | Utility | R$ 0.0350 |
| Boarding pass | Utility | R$ 0.0350 |
| Trip reminder | Utility | R$ 0.0350 |
| Delay alert (when needed) | Utility | R$ 0.0350 |
| Return-trip offer | Marketing | R$ 0.3217 |
With three messages per ticket (purchase, boarding pass and reminder), Meta’s cost is R$ 0.105 per ticket. Merging purchase and boarding pass into one template, when the ticket is issued right away, brings it down to R$ 0.07. Failed messages are not charged.
If the passenger came from a Click-to-WhatsApp ad and you replied within the customer service window, a free entry point window opens; it can last up to 7 days and messages in that period are not charged. Model your volume in the pricing calculator or see how much the API costs per month.
How to do it with Vectalk
Vectalk is a proxy for the official WhatsApp API: you create the ticket, boarding pass and delay templates in the dashboard (which also has the Template Library) or through the API, and send them via POST /api/messages with the same payload as the Cloud API. Status and button-reply webhooks are the ones in Meta’s documentation, configured per instance or globally.
Billing is prepaid: you pay the plan’s monthly fee, top up a balance, and each delivered message is deducted from it, with no card registered at Meta. Vectalk has no customer service inbox or bulk sending in the dashboard: messages are sent from your ticketing system, and rescheduling is handled in your system or a tool connected to the API. Coexistence lets you keep the number on the WhatsApp Business app for the ticket counter. See the documentation or create your account.
Frequently asked questions
Can I send the ticket as free-form text, without a template?
Only if the passenger messaged you in the last 24 hours. Most website purchases have no open window, so you need a template. See the WhatsApp 24-hour window.
Is there a ready-made boarding pass template in the Template Library?
No. The Template Library covers orders, deliveries, payments and accounts. The boarding pass has to be a utility template you create, with a document or image header.
Can the delay alert offer a discount on the next trip?
If it does, the template becomes marketing and costs R$ 0.3217 in Brazil. Send the delay alert as utility and, if you want to compensate the passenger, handle it in the conversation after they reply.
Will the QR code sent on WhatsApp work with the boarding scanner?
WhatsApp delivers the image you generated; your ticketing system decides whether the scanner accepts it. Test the QR code on different phone screens before going live.
Official sources consulted on November 10, 2026: Template categorization, Utility templates, Template Library, Supported media, Location messages, Pricing, Get opt-in for WhatsApp, WhatsApp Business Messaging Policy, Law 13,709/2018 (LGPD).
Put your business on the official WhatsApp
Create your account, connect your number to the official API (you can keep the app with coexistence) and start serving customers and sending messages.
