naftiko: 1.0.0-alpha2 info: label: Hookdeck Admin REST API — Notifications description: 'Hookdeck Admin REST API — Notifications. 4 operations. Lead operation: List all custom domains and their verification statuses for the project. Self-contained Naftiko capability covering one business surface.' tags: - Hookdeck - Notifications created: '2026-05-20' modified: '2026-05-20' binds: - namespace: env keys: HOOKDECK_API_KEY: HOOKDECK_API_KEY capability: consumes: - type: http namespace: hookdeck-notifications baseUri: https://api.hookdeck.com/2025-07-01 description: Hookdeck Admin REST API — Notifications business capability. Self-contained, no shared references. resources: - name: notifications-webhooks path: /notifications/webhooks operations: - name: togglewebhooknotifications method: PUT description: Webhook Notifications outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: teams-current-custom-domains path: /teams/current/custom_domains operations: - name: addcustomdomain method: POST description: Add a custom domain to the project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listcustomdomains method: GET description: List all custom domains and their verification statuses for the project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] - name: teams-current-custom-domains-domain-id path: /teams/current/custom_domains/{domain_id} operations: - name: deletecustomdomain method: DELETE description: Removes a custom domain from the project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: domain_id in: path type: string description: path parameter domain_id. required: true exposes: - type: rest namespace: hookdeck-notifications-rest port: 8080 description: REST adapter for Hookdeck Admin REST API — Notifications. One resource per consumed operation, prefixed with /v1. resources: - path: /v1/notifications/webhooks name: notifications-webhooks description: REST surface for notifications-webhooks. operations: - method: PUT name: togglewebhooknotifications description: Webhook Notifications call: hookdeck-notifications.togglewebhooknotifications with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teams/current/custom_domains name: teams-current-custom-domains description: REST surface for teams-current-custom-domains. operations: - method: POST name: addcustomdomain description: Add a custom domain to the project call: hookdeck-notifications.addcustomdomain with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listcustomdomains description: List all custom domains and their verification statuses for the project call: hookdeck-notifications.listcustomdomains with: {} outputParameters: - type: object mapping: $. - path: /v1/teams/current/custom_domains/{domain_id} name: teams-current-custom-domains-domain-id description: REST surface for teams-current-custom-domains-domain-id. operations: - method: DELETE name: deletecustomdomain description: Removes a custom domain from the project call: hookdeck-notifications.deletecustomdomain with: domain_id: rest.domain_id outputParameters: - type: object mapping: $. - type: mcp namespace: hookdeck-notifications-mcp port: 9090 transport: http description: MCP adapter for Hookdeck Admin REST API — Notifications. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: hookdeck-togglewebhooknotifications description: Webhook Notifications hints: readOnly: false destructive: false idempotent: true call: hookdeck-notifications.togglewebhooknotifications with: body: tools.body outputParameters: - type: object mapping: $. - name: hookdeck-addcustomdomain description: Add a custom domain to the project hints: readOnly: false destructive: false idempotent: false call: hookdeck-notifications.addcustomdomain with: body: tools.body outputParameters: - type: object mapping: $. - name: hookdeck-listcustomdomains description: List all custom domains and their verification statuses for the project hints: readOnly: true destructive: false idempotent: true call: hookdeck-notifications.listcustomdomains with: {} outputParameters: - type: object mapping: $. - name: hookdeck-deletecustomdomain description: Removes a custom domain from the project hints: readOnly: false destructive: true idempotent: true call: hookdeck-notifications.deletecustomdomain with: domain_id: tools.domain_id outputParameters: - type: object mapping: $.