{
  "opencollection": "1.0.0",
  "info": {
    "name": "Navan Bookings API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://app.navan.com/ta-auth/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Bookings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List bookings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.navan.com/travel/v1/bookings",
            "params": [
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "Start of the date range filter (ISO 8601)."
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "End of the date range filter (ISO 8601)."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Opaque cursor for pagination."
              }
            ]
          },
          "docs": "List booking (trip) records for downstream reporting and ERP transfer. The bookings:read scope is confirmed; the path and query parameters are MODELED from Navan's booking-data integration documentation."
        },
        {
          "info": {
            "name": "Get a booking",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.navan.com/travel/v1/bookings/:bookingId",
            "params": [
              {
                "name": "bookingId",
                "value": "",
                "type": "path",
                "description": "The booking (trip) identifier."
              }
            ]
          },
          "docs": "Retrieve a single booking by ID. MODELED - path inferred from the booking-data integration surface; verify against the gated reference."
        }
      ]
    }
  ],
  "bundled": true
}