Skip to content

Stays API Reference

The Stays service (port 8000) serves the Hospitality Business Unit.

http://localhost:8000/api/
  • Stay Overnight - Short-term hospitality
  • Roommate Works - Long-term roommate matching
  • Stay Match - Travel companion matching
POST /api/auth/register/
POST /api/auth/login/
POST /api/auth/verify-phone/
POST /api/auth/refresh/
GET /api/users/me/
PUT /api/users/me/
PATCH /api/users/me/
GET /api/stays/listings/
POST /api/stays/listings/
GET /api/stays/listings/{id}/
PUT /api/stays/listings/{id}/
DELETE /api/stays/listings/{id}/
GET /api/stays/bookings/
POST /api/stays/bookings/
GET /api/stays/bookings/{id}/
PUT /api/stays/bookings/{id}/

Interactive API documentation available at:

  • Swagger UI: http://localhost:8000/api/schema/swagger-ui/
  • ReDoc: http://localhost:8000/api/schema/redoc/
  • OpenAPI JSON: http://localhost:8000/api/schema/

All endpoints require JWT authentication except registration and login.

Include token in header:

Authorization: Bearer <token>

Full endpoint documentation with request/response examples.