API Reference / Bookings
GET/bookings

List bookings

List bookings placed against your organization’s packages.

🔒 JWT BearerTry in Console →

Purpose

Retrieve all bookings on your packages to display in an operator dashboard, export to a spreadsheet, or sync to your CRM. Scoped to your organization.

Authentication

Send your access token as a Bearer header: Authorization: Bearer <token>. Obtain it from Authenticate a user.

Request samples

bash
curl -X GET https://tourapi.nirajp.com.np/api/v1/bookings \
  -H "Content-Type: application/json"

Success response

Returns 200 OK with the shape below.

FieldTypeDescription
items[]arrayArray of booking objects
items[].idnumberBooking id
items[].packageIdnumberPackage the booking is for
items[].travelDatestringISO date of travel
items[].paxnumberNumber of travellers
items[].customerNamestringLead passenger
items[].statusstringpending | confirmed | cancelled
totalnumberTotal bookings
pagenumberCurrent page
limitnumberPage size
json
{
  "success": true,
  "message": "Request successful.",
  "data": {
    "items": [
      {
        "id": 5,
        "packageId": 1,
        "travelDate": "2026-10-04",
        "pax": 2,
        "customerName": "John Smith",
        "status": "pending"
      }
    ],
    "total": 1,
    "page": 1,
    "limit": 20
  }
}

Errors

All errors share the envelope { "success": false, "message": "..." }.

401No or invalid authentication token supplied.
json
{
  "success": false,
  "message": "Unauthorized"
}
500An unexpected error occurred on our side. Retry; if it persists, contact support.
json
{
  "success": false,
  "message": "Internal server error"
}