Skip to main content
GET
/
booking
/
user
/
{userId}
Error
A valid request URL is required to generate request examples
{
  "success": true,
  "message": "<string>",
  "data": [
    {
      "id": 123,
      "status": "confirmed",
      "voucher": "<string>",
      "hotelId": 123,
      "checkIn": "<string>",
      "checkOut": "<string>",
      "firstName": "<string>",
      "lastName": "<string>",
      "email": "<string>",
      "phone": "<string>",
      "lines": [
        {
          "lineText": "<string>",
          "type": "room",
          "amount": "<string>"
        }
      ],
      "pricePerNight": "<string>",
      "priceFees": "<string>",
      "priceDueAtHotel": "<string>",
      "priceInclusive": "<string>",
      "priceChargeable": "<string>",
      "pricePerRoom": "<string>",
      "pricePerRoomPerNight": "<string>",
      "priceBeforeFees": "<string>",
      "currency": "<string>",
      "remarks": "<string>",
      "roomType": "<string>",
      "cancellationPolicy": "<string>",
      "cancellationPolicyDate": "<string>",
      "rooms": [
        {
          "adults": [
            {
              "title": "<string>",
              "firstName": "<string>",
              "lastName": "<string>"
            }
          ],
          "children": [
            {
              "title": "<string>",
              "firstName": "<string>",
              "lastName": "<string>",
              "age": 123
            }
          ]
        }
      ],
      "clientCommission": "<string>",
      "paymentMethod": "creditCard",
      "userId": 123,
      "hotel": {
        "id": 123,
        "name": "<string>",
        "stars": 3,
        "address": {
          "address": "<string>",
          "city": "<string>",
          "country": "<string>",
          "countryCode": "<string>"
        },
        "rating": 2.5,
        "reviews": 1,
        "pricePerNight": "<string>",
        "priceChargeable": "<string>",
        "pricePerRoom": "<string>",
        "pricePerRoomPerNight": "<string>",
        "priceBeforeFees": "<string>",
        "priceFees": "<string>",
        "priceDueAtHotel": "<string>",
        "priceInclusive": "<string>",
        "amenities": [
          "<string>"
        ],
        "location": "<string>",
        "images": [
          "<string>"
        ],
        "exclusive": true,
        "type": "<string>",
        "coordinates": [
          123
        ]
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developer.tripedge.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key for authentication

Path Parameters

userId
string
required

ID of the user to get bookings for

Response

200 - application/json

Bookings found

success
boolean

Indicates if the request was successful

message
string | null

Response message

data
object[]