API Reference

Travel Marketplace API

The REST API for syncing destinations, publishing packages, and receiving live booking events. Every endpoint below has a dedicated page with integration steps, sample requests, and responses.

🔒 JWT — Bearer token from /auth/login🔑 x-api-key — partner inbound endpoints

Base URL: https://tourapi.nirajp.com.np/api/v1

Authentication

Packages

Bookings

Integrations

Partner API

Webhooks

Subscribe via POST /integrations/webhooks. We POST a signed JSON payload to your URL on these events:

  • booking.created
  • booking.updated
  • booking.cancelled
{
  "event": "booking.created",
  "data": { "bookingId": 5, "status": "pending" },
  "sentAt": "2026-07-19T09:09:34.676Z"
}

Headers: X-Event, X-Signature: sha256=… (HMAC-SHA256 with your signing secret), X-Delivery-Attempt. Failed deliveries retry up to 5 times.