Event Types API
Manage event types and their configurations.
GET
Public endpoint
/api/v1/users/:username/event_types
Get public event types for a user
Example Response
{
"data": [
{
"id": "evt_123",
"name": "30-minute Consultation",
"slug": "consultation-30min",
"description": "Quick consultation call",
"duration": 30,
"color": "#3B82F6",
"location_type": "zoom",
"price": null,
"available": true
},
{
"id": "evt_456",
"name": "Strategy Session",
"slug": "strategy-session",
"description": "In-depth strategy planning",
"duration": 60,
"color": "#10B981",
"location_type": "google_meet",
"price": 150.00,
"available": true
}
]
}
GET
Public endpoint
/api/v1/users/:username/event_types/:slug/slots
Get available time slots for an event type
Query Parameters
| Parameter | Type | Description |
|---|---|---|
date |
date | Date to get slots for (YYYY-MM-DD) |
timezone |
string | Timezone for the slots (default: UTC) |
Example Response
{
"data": {
"date": "2025-02-01",
"timezone": "America/New_York",
"slots": [
"09:00",
"09:30",
"10:00",
"10:30",
"14:00",
"14:30",
"15:00"
]
}
}