Comprehensive guide to our hotel reservation system API
Retrieve basic information about the hotel.
| Name | Type | Required | Description |
|---|---|---|---|
| apikey | string | Yes | Your API key for authentication |
GET /api/info?apikey=77855959
Try it
Retrieve all available room types with details.
| Name | Type | Required | Description |
|---|---|---|---|
| apikey | string | Yes | Your API key for authentication |
GET /api/roomtypes?apikey=77855959
Try it
Check room availability with rates for specific dates.
| Name | Type | Required | Description |
|---|---|---|---|
| apikey | string | Yes | Your API key for authentication |
| checkin_date | date (YYYY-MM-DD) | Yes | Check-in date |
| checkout_date | date (YYYY-MM-DD) | Yes | Check-out date |
| adults | integer | No | Number of adults (default: 1) |
| roomtype_id | integer | No | Specific room type ID to filter |
| promo_code | string | No | Promotion code for special rates |
GET /api/rooms?apikey=77855959&checkin_date=2024-08-01&checkout_date=2024-08-10
Try it
Create a new reservation.
| Name | Type | Required | Description |
|---|---|---|---|
| apikey | string | Yes | Your API key for authentication |
| checkin_date | date (YYYY-MM-DD) | Yes | Check-in date |
| checkout_date | date (YYYY-MM-DD) | Yes | Check-out date |
| roomtype_id | integer | Yes | Room type ID |
| rateplan_id | integer | Yes | Rate plan ID |
| firstname | string | Yes | Guest first name |
| lastname | string | Yes | Guest last name |
| mobile | string | Yes | Guest mobile number |
GET /api/resadd?apikey=77855959&checkin_date=2024-10-08&checkout_date=2024-10-09&roomtype_id=8&rateplan_id=12&firstname=John&lastname=Doe&mobile=03451234567
Try it