Boarding Pass API

Creating or updating a boarding pass

POST https://api.livepass.com/boarding_pass/:ticket_number

Use this endpoint to send new wallet pass or update information on existing pass. User will be notified when important information changed (new departure time or gate)

Request Path

Name
Type
Data Category
Description
Example

ticket_number*

string

Ticket

Ticket Number (unique identifier in your CRM)

1762356258728

Request Body

Name
Type
Data Category
Description
Example

email*

string

Customer

Customer Email (used for ticket delivery and notifications)

klim@livepass.com

full_name

string

Customer

Customer Full Name

KLIM SAFONOV

booking_code

string

Customer

Booking Code

K53RT6

flight_number*

string

Flight

Flight Number

EK408

flight_status

enum

Flight

Flight Status

scheduled

departure_airport*

string

Flight

Departure Airport Code

DXB

departure_date*

string

Flight

Departure Date

2023-02-25

departure_time*

string

Flight

Departure Time (24h)

03:00

arrival_airport*

string

Flight

Arrival Airport Code

MEL

arrival_date*

string

Flight

Arrival Date

2023-02-25

arrival_time*

string

Flight

Arrival Time (24h)

23:20

barcode_type*

enum

Barcode

Barcode Type (QR, Aztec)

aztec

barcode_data*

string

Barcode

Barcode Value

M1SAFONOV/KLIMMR EK53RT6 DXBMELEK 0408 056Y046C0394 33F>60B1MM3054BEK 2A17623562587280 EK 621594433 30K ^100

class

enum

Ticket

Class

economy

seat

string

Ticket

Seat Number

46C

boarding_gate

string

Ticket

Boarding Gate

A5

boarding_group

string

Ticket

Boarding Zone

4

Response Body

{
    "id": "018fd01f-a256-7bdc-9e46-525e8ac1eb6d",
    "ticket_number": "1762356258728",
    
    "email": "klim@livepass.com",
    "full_name": "Klim Safonov",
    "booking_code": "K53RT6",
    
    "flight_number": "EK408",
    "flight_status": "scheduled",
    
    "departure_airport": "DXB",
    "departure_date": "2023-02-25",
    "departure_time": "03:00",
    
    "arrival_airport": "MEL",
    "arrival_date": "2023-02-25",
    "arrival_time": "23:20",
    
    "barcode_type": "aztec",
    "barcode_data": "M1SAFONOV/KLIMMR EK53RT6 DXBMELEK 0408...",
    
    "class": "economy",
    "seat": "46C",
    "boarding_gate": "A5",
    "boarding_group": "4"
}

Good to know: Use this endpoint for creating and updating the flight ticket. Customers will receive email notification when pass generated or important information changed:

  • flight_status (only when value is delayed or canceled)

  • departure_date

  • departure_time

  • class

  • seat

  • boarding_gate

  • boarding_group

Last updated