Webhooks
Creates a new webhook
Getting Started
Attendees
Availabilities
Booking References
Bookings
Credentials
Destination Calendars
Event Types
Memberships
Schedules
Selected Calendars
Teams
Users
Webhooks
Creates a new webhook
POST
/
webhooks
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
Query Parameters
Your API key
Body
application/json
Create a new webhook
The body is of type object
.
Response
201
OK, webhook created
Was this page helpful?
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>"
}'