Routri API Documentation
Complete API reference for the Routri travel booking platform. Build custom integrations and extend your OTA capabilities.
Standard HTTP methods with JSON responses
Supabase JWT tokens with RLS policies
Live updates via Supabase subscriptions
Full TypeScript support with types
/api/toursList tours with filtering, pagination, and search
/api/tours/{slug}Get detailed tour information by slug
/api/tours/{slug}/bookCreate a booking for a specific tour
/api/bookingsRetrieve user bookings with filters
/api/bookings/{id}Get specific booking details
/api/bookings/{id}Update booking status or details
/api/paypal/create-orderInitialize PayPal payment order
/api/paypal/capture-orderCapture and complete PayPal payment
/api/destinationsList all available destinations
/api/categoriesGet tour categories with translations
/api/reviewsSubmit a tour review
/api/reviews/{tourId}Get reviews for a specific tour
/api/auth/registerRegister new user account
/api/auth/loginAuthenticate user credentials
/api/searchAdvanced tour search with filters
/api/translateTranslate content to supported languages