Postman Collections
Postman collections are available for easy API testing. Download the collections below and import them into Postman.
Downloads
| Collection | Description | Download |
|---|---|---|
| Flight Booking API | All flight endpoints with workflow examples | Download |
| Complete API | All endpoints across the Safiri Booking API | Download |
| Environment Template | Pre-configured variables for testing | Download |
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:
| Variable | Description |
|---|---|
base_url | API base URL (e.g., https://booking-api.safiri.app) |
jwt_token | Your authentication token |
external_user_id | Third-party user ID |
ticket_id | Ticket ID for operations |
booking_reference | Booking reference number |
Import Instructions
- Download the collection and environment files above
- Open Postman
- Click Import in the top left
- Drag and drop or select the downloaded files
- Go to Environments and select "Safiri API"
- Update the variables with your credentials
- Start making API calls!