IDBOOK Hotels API

Backend API for hotel bookings, payments, and partner operations.

API documentation

OpenAPI schema

Base URL

https://api.idbookhotels.com/api/v1/

Shown from the current request. For emails/notifications, BASE_URL / BASE_URL_ in the environment is used.

Authentication

JWT (Bearer). Obtain tokens at POST /api/v1/auth/token/, refresh at POST /api/v1/auth/token/refresh/.

In Swagger UI: call POST /api/v1/auth/token/ with username and password, copy the access value, then click Authorize and enter Bearer <access_token>.