POST
/
event-types
curl --request POST \
  --url https://api.cal.com/v1/event-types \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Hello World",
  "slug": "hello-world",
  "length": 30,
  "hidden": false,
  "position": 0,
  "eventName": null,
  "timeZone": null,
  "scheduleId": 5,
  "periodType": "UNLIMITED",
  "periodStartDate": "2023-02-15T08:46:16.000Z",
  "periodEndDate": "2023-0-15T08:46:16.000Z",
  "periodDays": null,
  "periodCountCalendarDays": false,
  "requiresConfirmation": false,
  "recurringEvent": null,
  "disableGuests": false,
  "hideCalendarNotes": false,
  "minimumBookingNotice": 120,
  "beforeEventBuffer": 0,
  "afterEventBuffer": 0,
  "price": 0,
  "currency": "usd",
  "slotInterval": null,
  "successRedirectUrl": null,
  "description": "A test event type",
  "metadata": {
    "apps": {
      "stripe": {
        "price": 0,
        "enabled": false,
        "currency": "usd"
      }
    }
  }
}'

Authorizations

apiKey
string
query
required

Query Parameters

apiKey
string
required

Your API Key

Body

application/json
Create a new event-type related to your user or team

The body is of type object.

Response

201

OK, event type created