
Cal.com Has a Free API: Open-Source Scheduling That Replaces Calendly
What is Cal.com? Cal.com is an open-source scheduling platform — the Calendly alternative you can self-host. It handles booking pages, team scheduling, payments, and integrations with a full REST API. Quick Start git clone https://github.com/calcom/cal.com cd cal.com npm install npx prisma migrate deploy npm run dev The REST API (v2) export CAL_URL = "https://api.cal.com/v2" export CAL_KEY = "your-api-key" Event Types # List event types curl -s " $CAL_URL /event-types" \ -H "Authorization: Bearer $CAL_KEY " | jq '.data[] | {title, slug, length}' # Create event type curl -X POST " $CAL_URL /event-types" \ -H "Authorization: Bearer $CAL_KEY " \ -d '{ "title": "30 Min Meeting", "slug": "30min", "length": 30, "description": "Quick sync call" }' Bookings # List bookings curl -s " $CAL_URL /bookings" \ -H "Authorization: Bearer $CAL_KEY " | jq '.data[] | {title, start, status}' # Create booking curl -X POST " $CAL_URL /bookings" \ -H "Authorization: Bearer $CAL_KEY " \ -d '{ "eventTypeId": 1
Continue reading on Dev.to Tutorial
Opens in a new tab



