Cal.com · Capability
Cal.diy API v2 — Event Types / Webhooks
Cal.diy API v2 — Event Types / Webhooks. 6 operations. Lead operation: Create a webhook. Self-contained Naftiko capability covering one Cal Com business surface.
What You Can Do
POST
Eventtypewebhookscontrollercreateeventtypewebhook
— Create a webhook
/v1/v2/event-types/{eventtypeid}/webhooks
GET
Eventtypewebhookscontrollergeteventtypewebhooks
— Get all webhooks
/v1/v2/event-types/{eventtypeid}/webhooks
DELETE
Eventtypewebhookscontrollerdeletealleventtypewebhooks
— Delete all webhooks
/v1/v2/event-types/{eventtypeid}/webhooks
PATCH
Eventtypewebhookscontrollerupdateeventtypewebhook
— Update a webhook
/v1/v2/event-types/{eventtypeid}/webhooks/{webhookid}
GET
Eventtypewebhookscontrollergeteventtypewebhook
— Get a webhook
/v1/v2/event-types/{eventtypeid}/webhooks/{webhookid}
DELETE
Eventtypewebhookscontrollerdeleteeventtypewebhook
— Delete a webhook
/v1/v2/event-types/{eventtypeid}/webhooks/{webhookid}
MCP Tools
create-webhook
Create a webhook
get-all-webhooks
Get all webhooks
read-only
idempotent
delete-all-webhooks
Delete all webhooks
idempotent
update-webhook
Update a webhook
idempotent
get-webhook
Get a webhook
read-only
idempotent
delete-webhook
Delete a webhook
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Cal.diy API v2 — Event Types / Webhooks
description: 'Cal.diy API v2 — Event Types / Webhooks. 6 operations. Lead operation: Create a webhook. Self-contained Naftiko
capability covering one Cal Com business surface.'
tags:
- Cal Com
- Event Types / Webhooks
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
CAL_COM_API_KEY: CAL_COM_API_KEY
capability:
consumes:
- type: http
namespace: cal-com-event-types-webhooks
baseUri: ''
description: Cal.diy API v2 — Event Types / Webhooks business capability. Self-contained, no shared references.
resources:
- name: v2-event-types-eventTypeId-webhooks
path: /v2/event-types/{eventTypeId}/webhooks
operations:
- name: eventtypewebhookscontrollercreateeventtypewebhook
method: POST
description: Create a webhook
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Authorization
in: header
type: string
description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access
token
required: true
- name: eventTypeId
in: path
type: number
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: eventtypewebhookscontrollergeteventtypewebhooks
method: GET
description: Get all webhooks
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Authorization
in: header
type: string
description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access
token
required: true
- name: eventTypeId
in: path
type: number
required: true
- name: take
in: query
type: number
description: Maximum number of items to return
- name: skip
in: query
type: number
description: Number of items to skip
- name: eventtypewebhookscontrollerdeletealleventtypewebhooks
method: DELETE
description: Delete all webhooks
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Authorization
in: header
type: string
description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access
token
required: true
- name: eventTypeId
in: path
type: number
required: true
- name: v2-event-types-eventTypeId-webhooks-webhookId
path: /v2/event-types/{eventTypeId}/webhooks/{webhookId}
operations:
- name: eventtypewebhookscontrollerupdateeventtypewebhook
method: PATCH
description: Update a webhook
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Authorization
in: header
type: string
description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access
token
required: true
- name: webhookId
in: path
type: string
required: true
- name: eventTypeId
in: path
type: number
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: eventtypewebhookscontrollergeteventtypewebhook
method: GET
description: Get a webhook
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Authorization
in: header
type: string
description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access
token
required: true
- name: webhookId
in: path
type: string
required: true
- name: eventTypeId
in: path
type: number
required: true
- name: eventtypewebhookscontrollerdeleteeventtypewebhook
method: DELETE
description: Delete a webhook
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Authorization
in: header
type: string
description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access
token
required: true
- name: webhookId
in: path
type: string
required: true
- name: eventTypeId
in: path
type: number
required: true
exposes:
- type: rest
namespace: cal-com-event-types-webhooks-rest
port: 8080
description: REST adapter for Cal.diy API v2 — Event Types / Webhooks. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/v2/event-types/{eventtypeid}/webhooks
name: v2-event-types-eventtypeid-webhooks
description: REST surface for v2-event-types-eventTypeId-webhooks.
operations:
- method: POST
name: eventtypewebhookscontrollercreateeventtypewebhook
description: Create a webhook
call: cal-com-event-types-webhooks.eventtypewebhookscontrollercreateeventtypewebhook
with:
Authorization: rest.Authorization
eventTypeId: rest.eventTypeId
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: GET
name: eventtypewebhookscontrollergeteventtypewebhooks
description: Get all webhooks
call: cal-com-event-types-webhooks.eventtypewebhookscontrollergeteventtypewebhooks
with:
Authorization: rest.Authorization
eventTypeId: rest.eventTypeId
take: rest.take
skip: rest.skip
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: eventtypewebhookscontrollerdeletealleventtypewebhooks
description: Delete all webhooks
call: cal-com-event-types-webhooks.eventtypewebhookscontrollerdeletealleventtypewebhooks
with:
Authorization: rest.Authorization
eventTypeId: rest.eventTypeId
outputParameters:
- type: object
mapping: $.
- path: /v1/v2/event-types/{eventtypeid}/webhooks/{webhookid}
name: v2-event-types-eventtypeid-webhooks-webhookid
description: REST surface for v2-event-types-eventTypeId-webhooks-webhookId.
operations:
- method: PATCH
name: eventtypewebhookscontrollerupdateeventtypewebhook
description: Update a webhook
call: cal-com-event-types-webhooks.eventtypewebhookscontrollerupdateeventtypewebhook
with:
Authorization: rest.Authorization
webhookId: rest.webhookId
eventTypeId: rest.eventTypeId
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: GET
name: eventtypewebhookscontrollergeteventtypewebhook
description: Get a webhook
call: cal-com-event-types-webhooks.eventtypewebhookscontrollergeteventtypewebhook
with:
Authorization: rest.Authorization
webhookId: rest.webhookId
eventTypeId: rest.eventTypeId
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: eventtypewebhookscontrollerdeleteeventtypewebhook
description: Delete a webhook
call: cal-com-event-types-webhooks.eventtypewebhookscontrollerdeleteeventtypewebhook
with:
Authorization: rest.Authorization
webhookId: rest.webhookId
eventTypeId: rest.eventTypeId
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: cal-com-event-types-webhooks-mcp
port: 9090
transport: http
description: MCP adapter for Cal.diy API v2 — Event Types / Webhooks. One tool per consumed operation, routed inline through
this capability's consumes block.
tools:
- name: create-webhook
description: Create a webhook
hints:
readOnly: false
destructive: false
idempotent: false
call: cal-com-event-types-webhooks.eventtypewebhookscontrollercreateeventtypewebhook
with:
Authorization: tools.Authorization
eventTypeId: tools.eventTypeId
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: get-all-webhooks
description: Get all webhooks
hints:
readOnly: true
destructive: false
idempotent: true
call: cal-com-event-types-webhooks.eventtypewebhookscontrollergeteventtypewebhooks
with:
Authorization: tools.Authorization
eventTypeId: tools.eventTypeId
take: tools.take
skip: tools.skip
outputParameters:
- type: object
mapping: $.
- name: delete-all-webhooks
description: Delete all webhooks
hints:
readOnly: false
destructive: true
idempotent: true
call: cal-com-event-types-webhooks.eventtypewebhookscontrollerdeletealleventtypewebhooks
with:
Authorization: tools.Authorization
eventTypeId: tools.eventTypeId
outputParameters:
- type: object
mapping: $.
- name: update-webhook
description: Update a webhook
hints:
readOnly: false
destructive: false
idempotent: true
call: cal-com-event-types-webhooks.eventtypewebhookscontrollerupdateeventtypewebhook
with:
Authorization: tools.Authorization
webhookId: tools.webhookId
eventTypeId: tools.eventTypeId
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: get-webhook
description: Get a webhook
hints:
readOnly: true
destructive: false
idempotent: true
call: cal-com-event-types-webhooks.eventtypewebhookscontrollergeteventtypewebhook
with:
Authorization: tools.Authorization
webhookId: tools.webhookId
eventTypeId: tools.eventTypeId
outputParameters:
- type: object
mapping: $.
- name: delete-webhook
description: Delete a webhook
hints:
readOnly: false
destructive: true
idempotent: true
call: cal-com-event-types-webhooks.eventtypewebhookscontrollerdeleteeventtypewebhook
with:
Authorization: tools.Authorization
webhookId: tools.webhookId
eventTypeId: tools.eventTypeId
outputParameters:
- type: object
mapping: $.