Skip to main content
POST
/
webhooks
Creates a new webhook
curl --request POST \
  --url https://api.cal.com/v1/webhooks \
  --header 'Content-Type: application/json' \
  --data '{
  "subscriberUrl": "<string>",
  "eventTriggers": "BOOKING_CREATED",
  "active": true,
  "payloadTemplate": "<string>",
  "eventTypeId": 123,
  "secret": "<string>"
}'

Authorizations

apiKey
string
query
required

Query Parameters

apiKey
string
required

Body

application/json
subscriberUrl
string<uri>
required
eventTriggers
enum<string>
required
Available options:
BOOKING_CREATED,
BOOKING_RESCHEDULED,
BOOKING_CANCELLED,
MEETING_ENDED
active
boolean
required
payloadTemplate
string
eventTypeId
number
secret
string

Response