Skip to main content

Postman Collections

Postman collections are available for easy API testing. Download the collections below and import them into Postman.

Downloads

CollectionDescriptionDownload
Flight Booking APIAll flight endpoints with workflow examplesDownload
Complete APIAll endpoints across the Safiri Booking APIDownload
Environment TemplatePre-configured variables for testingDownload

Collections

Flight Bookings

Includes all third-party flight endpoints with complete workflow examples:

  • Search flights
  • Select and price offers
  • Reserve tickets
  • Issue tickets

Complete API

Includes all API endpoints across the entire Safiri Booking API:

  • Flight booking
  • Bus booking
  • Parcel delivery
  • User management
  • And more

Environment Variables

The environment template includes these variables:

VariableDescription
base_urlAPI base URL (e.g., https://booking-api.safiri.app)
jwt_tokenYour authentication token
external_user_idThird-party user ID
ticket_idTicket ID for operations
booking_referenceBooking reference number

Import Instructions

  1. Download the collection and environment files above
  2. Open Postman
  3. Click Import in the top left
  4. Drag and drop or select the downloaded files
  5. Go to Environments and select "Safiri API"
  6. Update the variables with your credentials
  7. Start making API calls!