naftiko: 1.0.0-alpha2 info: label: Calendly Scheduling API — Webhook Subscriptions description: 'Calendly Scheduling API — Webhook Subscriptions. 4 operations. Lead operation: List webhook subscriptions. Self-contained Naftiko capability covering one Calendly business surface.' tags: - Calendly - Webhook Subscriptions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CALENDLY_API_KEY: CALENDLY_API_KEY capability: consumes: - type: http namespace: scheduling-webhook-subscriptions baseUri: https://api.calendly.com description: Calendly Scheduling API — Webhook Subscriptions business capability. Self-contained, no shared references. resources: - name: webhook_subscriptions path: /webhook_subscriptions operations: - name: listwebhooksubscriptions method: GET description: List webhook subscriptions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: user in: query type: string description: The URI of the user whose webhook subscriptions to list. - name: organization in: query type: string description: The URI of the organization whose webhook subscriptions to list. required: true - name: scope in: query type: string description: The scope of the webhook subscription. Use user for subscriptions scoped to a specific user, or organization for organization-wide subscriptions. required: true - name: createwebhooksubscription method: POST description: Create webhook subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: webhook_subscriptions-uuid path: /webhook_subscriptions/{uuid} operations: - name: getwebhooksubscription method: GET description: Get webhook subscription outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deletewebhooksubscription method: DELETE description: Delete webhook subscription outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.CALENDLY_API_KEY}}' exposes: - type: rest namespace: scheduling-webhook-subscriptions-rest port: 8080 description: REST adapter for Calendly Scheduling API — Webhook Subscriptions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/webhook-subscriptions name: webhook-subscriptions description: REST surface for webhook_subscriptions. operations: - method: GET name: listwebhooksubscriptions description: List webhook subscriptions call: scheduling-webhook-subscriptions.listwebhooksubscriptions with: user: rest.user organization: rest.organization scope: rest.scope outputParameters: - type: object mapping: $. - method: POST name: createwebhooksubscription description: Create webhook subscription call: scheduling-webhook-subscriptions.createwebhooksubscription with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/webhook-subscriptions/{uuid} name: webhook-subscriptions-uuid description: REST surface for webhook_subscriptions-uuid. operations: - method: GET name: getwebhooksubscription description: Get webhook subscription call: scheduling-webhook-subscriptions.getwebhooksubscription outputParameters: - type: object mapping: $. - method: DELETE name: deletewebhooksubscription description: Delete webhook subscription call: scheduling-webhook-subscriptions.deletewebhooksubscription outputParameters: - type: object mapping: $. - type: mcp namespace: scheduling-webhook-subscriptions-mcp port: 9090 transport: http description: MCP adapter for Calendly Scheduling API — Webhook Subscriptions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-webhook-subscriptions description: List webhook subscriptions hints: readOnly: true destructive: false idempotent: true call: scheduling-webhook-subscriptions.listwebhooksubscriptions with: user: tools.user organization: tools.organization scope: tools.scope outputParameters: - type: object mapping: $. - name: create-webhook-subscription description: Create webhook subscription hints: readOnly: false destructive: false idempotent: false call: scheduling-webhook-subscriptions.createwebhooksubscription with: body: tools.body outputParameters: - type: object mapping: $. - name: get-webhook-subscription description: Get webhook subscription hints: readOnly: true destructive: false idempotent: true call: scheduling-webhook-subscriptions.getwebhooksubscription outputParameters: - type: object mapping: $. - name: delete-webhook-subscription description: Delete webhook subscription hints: readOnly: false destructive: true idempotent: true call: scheduling-webhook-subscriptions.deletewebhooksubscription outputParameters: - type: object mapping: $.