Boarding Pass Template

Free Word template with sample data

A boarding pass for airlines, travel agencies and charter operators. It prints at actual size with the route in large airport codes, the passenger, the flight, the gate, the boarding time and the seat, a stub with a scannable barcode, and an optional priority boarding badge and pre-check line, with partner offers for a car rental and a hotel at the destination, add-ons and a loyalty banner filling the rest of the page. Download the Word file to match your airline, then generate a boarding pass for every passenger.

  • Edit the ticket in Word, no special software needed
  • Add ticket generation to your app with our REST API
  • Automate via Zapier, Make, n8n & other no-code integrations
  • Generate tickets in batch from JSON data
Boarding Pass template, finished document Boarding Pass template with merge tags
Developers

Generate Tickets With the API

Upload the ticket template, then send the structured data to get the finished document. Replace YOUR_API_KEY with your unique key and YOUR_TEMPLATE_ID with the ID of your template.

Send an array of JSON objects and get one document for each object, returned in a ZIP archive. Use the output_name parameter to customize each filename with the merge tags from your template.

curl -X 'POST' \
  'https://api.docugenerate.com/v1/document' \
  -H 'Accept: application/json' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "template_id": "YOUR_TEMPLATE_ID",
  "output_format": ".pdf",
  "data": {
    "airline": "Skyline Airways",
    "passenger": {
      "name": "MAYA LINDGREN"
    },
    "flight": {
      "number": "SK 214",
      "from_code": "SFO",
      "from_city": "San Francisco",
      "to_code": "JFK",
      "to_city": "New York",
      "departure": "2027-06-14T08:05",
      "gate": "B22"
    },
    "seat": "14A",
    "cabin": "Economy Plus",
    "priority": true,
    "precheck": true,
    "booking_ref": "K4H7P0",
    "issued": "2027-05-20",
    "ticket_number": "01624400120",
    "barcode_data": "M1MAYA/LINDGREN ESFOJFKSK SK214 14A",
    "miles": 1691,
    "car": {
      "partner": "Roadrunner Car Rental",
      "title": "Car rental in New York",
      "detail": "Pick up at JFK airport, drop off anywhere in the city. Free cancellation up to 24 hours before.",
      "price": 29,
      "unit": "a day",
      "code": "SKY14CAR",
      "save": 10
    },
    "hotel": {
      "partner": "Hotel Meridian",
      "title": "Stay in New York",
      "detail": "Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.",
      "price": 119,
      "unit": "a night",
      "code": "SKY14STAY",
      "save": 12
    }
  }
}'
curl -X 'POST' \
  'https://api.docugenerate.com/v1/document' \
  -H 'Accept: application/json' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "template_id": "YOUR_TEMPLATE_ID",
  "output_format": ".pdf",
  "single_file": false,
  "output_name": "Boarding Pass [booking_ref]",
  "data": [
    { "airline": "Skyline Airways", "passenger": {"name":"MAYA LINDGREN"}, "flight": {"number":"SK 214","from_code":"SFO","from_city":"San Francisco","to_code":"JFK","to_city":"New York","departure":"2027-06-14T08:05","gate":"B22"}, "seat": "14A", "cabin": "Economy Plus", "priority": true, "precheck": true, "booking_ref": "K4H7P0", "issued": "2027-05-20", "ticket_number": "01624400120", "barcode_data": "M1MAYA/LINDGREN ESFOJFKSK SK214 14A", "miles": 1691, "car": {"partner":"Roadrunner Car Rental","title":"Car rental in New York","detail":"Pick up at JFK airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":29,"unit":"a day","code":"SKY14CAR","save":10}, "hotel": {"partner":"Hotel Meridian","title":"Stay in New York","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":119,"unit":"a night","code":"SKY14STAY","save":12} },
    { "airline": "Skyline Airways", "passenger": {"name":"DANIEL OKAFOR"}, "flight": {"number":"SK 1810","from_code":"LAX","from_city":"Los Angeles","to_code":"ORD","to_city":"Chicago","departure":"2027-06-14T10:40","gate":"C07"}, "seat": "23C", "cabin": "Economy", "priority": false, "precheck": false, "booking_ref": "QH7P21", "issued": "2027-05-21", "ticket_number": "01624400157", "barcode_data": "M1DANIEL/OKAFOR ELAXORDSK SK1810 23C", "miles": 1004, "car": {"partner":"Evergreen Rentals","title":"Car rental in Chicago","detail":"Pick up at ORD airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":36,"unit":"a day","code":"SKY15CAR","save":13}, "hotel": {"partner":"The Harborview","title":"Stay in Chicago","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":132,"unit":"a night","code":"SKY15STAY","save":17} },
    { "airline": "Skyline Airways", "passenger": {"name":"PRIYA VENKATESAN"}, "flight": {"number":"SK 622","from_code":"SEA","from_city":"Seattle","to_code":"BOS","to_city":"Boston","departure":"2027-06-15T05:30","gate":"A14"}, "seat": "8F", "cabin": "Business", "priority": true, "precheck": true, "booking_ref": "R7P2X2", "issued": "2027-05-22", "ticket_number": "01624400194", "barcode_data": "M1PRIYA/VENKATESAN ESEABOSSK SK622 8F", "miles": 2624, "car": {"partner":"Skyway Cars","title":"Car rental in Boston","detail":"Pick up at BOS airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":43,"unit":"a day","code":"SKY16CAR","save":16}, "hotel": {"partner":"Parkside Suites","title":"Stay in Boston","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":145,"unit":"a night","code":"SKY16STAY","save":22} },
    { "airline": "Skyline Airways", "passenger": {"name":"MARCUS HALE"}, "flight": {"number":"SK 905","from_code":"DEN","from_city":"Denver","to_code":"ATL","to_city":"Atlanta","departure":"2027-06-15T12:55","gate":"D03"}, "seat": "31B", "cabin": "Economy", "priority": false, "precheck": false, "booking_ref": "TP2X93", "issued": "2027-05-23", "ticket_number": "01624400231", "barcode_data": "M1MARCUS/HALE EDENATLSK SK905 31B", "miles": 779, "car": {"partner":"Metro Drive","title":"Car rental in Atlanta","detail":"Pick up at ATL airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":50,"unit":"a day","code":"SKY17CAR","save":19}, "hotel": {"partner":"Grand Plaza Inn","title":"Stay in Atlanta","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":158,"unit":"a night","code":"SKY17STAY","save":13} },
    { "airline": "Skyline Airways", "passenger": {"name":"HANNAH DOYLE"}, "flight": {"number":"SK 337","from_code":"ORD","from_city":"Chicago","to_code":"MIA","to_city":"Miami","departure":"2027-06-16T08:20","gate":"B11"}, "seat": "17D", "cabin": "Economy Plus", "priority": false, "precheck": true, "booking_ref": "M4H7P4", "issued": "2027-05-24", "ticket_number": "01624400268", "barcode_data": "M1HANNAH/DOYLE EORDMIASK SK337 17D", "miles": 999, "car": {"partner":"Roadrunner Car Rental","title":"Car rental in Miami","detail":"Pick up at MIA airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":33,"unit":"a day","code":"SKY18CAR","save":11}, "hotel": {"partner":"Hotel Meridian","title":"Stay in Miami","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":171,"unit":"a night","code":"SKY18STAY","save":18} },
    { "airline": "Skyline Airways", "passenger": {"name":"TOMAS HERRERA"}, "flight": {"number":"SK 1544","from_code":"AUS","from_city":"Austin","to_code":"SEA","to_city":"Seattle","departure":"2027-06-16T15:10","gate":"A09"}, "seat": "26A", "cabin": "Economy", "priority": false, "precheck": false, "booking_ref": "ZH7P25", "issued": "2027-05-25", "ticket_number": "01624400305", "barcode_data": "M1TOMAS/HERRERA EAUSSEASK SK1544 26A", "miles": 1046, "car": {"partner":"Evergreen Rentals","title":"Car rental in Seattle","detail":"Pick up at SEA airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":40,"unit":"a day","code":"SKY19CAR","save":14}, "hotel": {"partner":"The Harborview","title":"Stay in Seattle","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":124,"unit":"a night","code":"SKY19STAY","save":23} },
    { "airline": "Skyline Airways", "passenger": {"name":"SOFIA PETROV"}, "flight": {"number":"SK 119","from_code":"JFK","from_city":"New York","to_code":"LAX","to_city":"Los Angeles","departure":"2027-06-17T06:50","gate":"C21"}, "seat": "3A", "cabin": "First", "priority": true, "precheck": true, "booking_ref": "K7P2X6", "issued": "2027-05-26", "ticket_number": "01624400342", "barcode_data": "M1SOFIA/PETROV EJFKLAXSK SK119 3A", "miles": 3946, "car": {"partner":"Skyway Cars","title":"Car rental in Los Angeles","detail":"Pick up at LAX airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":47,"unit":"a day","code":"SKY20CAR","save":17}, "hotel": {"partner":"Parkside Suites","title":"Stay in Los Angeles","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":137,"unit":"a night","code":"SKY20STAY","save":14} },
    { "airline": "Skyline Airways", "passenger": {"name":"KWAME BOATENG"}, "flight": {"number":"SK 762","from_code":"ATL","from_city":"Atlanta","to_code":"DEN","to_city":"Denver","departure":"2027-06-17T11:35","gate":"B05"}, "seat": "19E", "cabin": "Economy", "priority": false, "precheck": false, "booking_ref": "QP2X97", "issued": "2027-05-27", "ticket_number": "01624400379", "barcode_data": "M1KWAME/BOATENG EATLDENSK SK762 19E", "miles": 881, "car": {"partner":"Metro Drive","title":"Car rental in Denver","detail":"Pick up at DEN airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":30,"unit":"a day","code":"SKY21CAR","save":20}, "hotel": {"partner":"Grand Plaza Inn","title":"Stay in Denver","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":150,"unit":"a night","code":"SKY21STAY","save":19} },
    { "airline": "Skyline Airways", "passenger": {"name":"AMARA NWOSU"}, "flight": {"number":"SK 483","from_code":"PDX","from_city":"Portland","to_code":"LAS","to_city":"Las Vegas","departure":"2027-06-18T10:00","gate":"A02"}, "seat": "12C", "cabin": "Economy Plus", "priority": false, "precheck": true, "booking_ref": "R4H7P8", "issued": "2027-05-28", "ticket_number": "01624400416", "barcode_data": "M1AMARA/NWOSU EPDXLASSK SK483 12C", "miles": 769, "car": {"partner":"Roadrunner Car Rental","title":"Car rental in Las Vegas","detail":"Pick up at LAS airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":37,"unit":"a day","code":"SKY22CAR","save":12}, "hotel": {"partner":"Hotel Meridian","title":"Stay in Las Vegas","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":163,"unit":"a night","code":"SKY22STAY","save":24} },
    { "airline": "Skyline Airways", "passenger": {"name":"LUCAS MOREAU"}, "flight": {"number":"SK 218","from_code":"BOS","from_city":"Boston","to_code":"SFO","to_city":"San Francisco","departure":"2027-06-18T16:25","gate":"D16"}, "seat": "28F", "cabin": "Economy", "priority": false, "precheck": false, "booking_ref": "TH7P29", "issued": "2027-05-29", "ticket_number": "01624400453", "barcode_data": "M1LUCAS/MOREAU EBOSSFOSK SK218 28F", "miles": 1640, "car": {"partner":"Evergreen Rentals","title":"Car rental in San Francisco","detail":"Pick up at SFO airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":44,"unit":"a day","code":"SKY23CAR","save":15}, "hotel": {"partner":"The Harborview","title":"Stay in San Francisco","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":176,"unit":"a night","code":"SKY23STAY","save":15} }
  ]
}'
FAQ

Your Questions Answered

Questions frequently asked about our ticket templates

Download a template, adapt it in Word and upload it to DocuGenerate. Then send your data from a spreadsheet, the API or a no-code tool, and your tickets are generated automatically. Our guide walks you through every step. Learn more.
Yes. Instead of building each ticket by hand, send your data and every ticket is created the moment someone registers, whether you need one or thousands. Learn more.
Yes. Connect your ticketing or payment platform through Zapier, Make, n8n or Pipedream to generate each ticket and email it to the attendee as soon as they pay.
Yes. Add a QR code or barcode tag to your template, and it's generated from the unique ticket number in your data. Learn more.
No. The data is transient. It is used for the merge and then discarded, never written to the logs or the database. The generated tickets are kept until you delete them.
Yes. Send your ticket data as JSON to the REST API and get the generated ticket back in seconds. SDKs are available for Node.js, Python, PHP, Ruby, Go, C#, Rust and Java, and every plan includes full API access. Learn more.
Sign Up

Start Generating Your Tickets

Get started with 20 free documents per month and our ready-to-use ticket templates.

Start Generating for Free
  • Free forever plan
  • No credit card required