cURL
curl --request POST \ --url https://prod.featherhq.com/api/v1/calendars/{calendarId}/event-types \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>", "slug": "<string>", "duration": 2, "description": "<string>", "slotInterval": 2, "minimumBookingNotice": 120, "beforeEventBuffer": 0, "afterEventBuffer": 0, "periodType": "UNLIMITED", "periodDays": 2, "periodStartDate": "2023-12-25", "periodEndDate": "2023-12-25", "scheduleId": "<string>", "location": "<string>", "addGoogleMeet": false, "metadata": null } '
{ "id": "<string>", "calendarId": "<string>", "name": "<string>", "slug": "<string>", "description": "<string>", "duration": 123, "slotInterval": 123, "minimumBookingNotice": 123, "beforeEventBuffer": 123, "afterEventBuffer": 123, "periodType": "UNLIMITED", "periodDays": 123, "periodStartDate": "<string>", "periodEndDate": "<string>", "scheduleId": "<string>", "location": "<string>", "addGoogleMeet": true, "active": true, "archived": true, "createdAt": "<string>", "updatedAt": "<string>", "metadata": null }
1 - 255
x >= 1
1000
x >= 0
UNLIMITED
ROLLING
RANGE
Event type created