Documentation
Everything you need to integrate CLEARWAY into your facility.
Quick Start
Get CLEARWAY running on your site in under 5 minutes.
1. Embed the Widget
Add the booking widget to any page with a single script tag:
<script src="https://clearway.pages.dev/embed.js"
data-facility="your-facility-slug"
data-theme="dark">
</script> 2. Configure Your Facility
Set up your courts, pricing, and availability in the admin dashboard. We'll provide your facility slug during onboarding.
3. Connect Payments
CLEARWAY uses Stripe Connect for secure payment processing. Connect your Stripe account to start accepting bookings.
Widget Options
| Attribute | Type | Description |
|---|---|---|
data-facility | string | Your facility's unique identifier |
data-theme | "light" | "dark" | Widget color scheme (default: "dark") |
data-court-type | string | Filter to specific court type (optional) |
API Reference
For custom integrations, CLEARWAY provides a REST API.
Base URL
https://clearway.pages.dev/api Endpoints
GET
/availability Fetch available time slots for a facility and date.
POST
/book Create a new reservation.
GET
/reservations/:id Get reservation details.
SMS Booking
Members can book via text message using natural language:
"Reserve court 3 at 6pm tomorrow"
"Book a padel court for Saturday morning"
"Cancel my reservation for tonight"
Contact us to enable SMS booking for your facility.
Need Help?
Email us at support@createsomething.agency