Debbie Collect · Capability

Debbie Platform API — Webhooks

Debbie Platform API — Webhooks. 2 operations. Lead operation: List webhook items. Self-contained Naftiko capability covering one Debbie Collect business surface.

Run with Naftiko Debbie CollectWebhooks

What You Can Do

GET
Listwebhookitems — List webhook items
/v1/webhooks/items
PATCH
Patchwebhookitem — Patch a webhook item
/v1/webhooks/items/{itemid}

MCP Tools

list-webhook-items

List webhook items

read-only idempotent
patch-webhook-item

Patch a webhook item

idempotent

Capability Spec

debbie-platform-webhooks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Debbie Platform API — Webhooks
  description: 'Debbie Platform API — Webhooks. 2 operations. Lead operation: List webhook items. Self-contained Naftiko capability
    covering one Debbie Collect business surface.'
  tags:
  - Debbie Collect
  - Webhooks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DEBBIE_COLLECT_API_KEY: DEBBIE_COLLECT_API_KEY
capability:
  consumes:
  - type: http
    namespace: debbie-platform-webhooks
    baseUri: https://api.debbie.dk
    description: Debbie Platform API — Webhooks business capability. Self-contained, no shared references.
    resources:
    - name: webhooks-items
      path: /webhooks/items
      operations:
      - name: listwebhookitems
        method: GET
        description: List webhook items
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: webhooks-items-itemId
      path: /webhooks/items/{itemId}
      operations:
      - name: patchwebhookitem
        method: PATCH
        description: Patch a webhook item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: itemId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.DEBBIE_COLLECT_API_KEY}}'
  exposes:
  - type: rest
    namespace: debbie-platform-webhooks-rest
    port: 8080
    description: REST adapter for Debbie Platform API — Webhooks. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/webhooks/items
      name: webhooks-items
      description: REST surface for webhooks-items.
      operations:
      - method: GET
        name: listwebhookitems
        description: List webhook items
        call: debbie-platform-webhooks.listwebhookitems
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhooks/items/{itemid}
      name: webhooks-items-itemid
      description: REST surface for webhooks-items-itemId.
      operations:
      - method: PATCH
        name: patchwebhookitem
        description: Patch a webhook item
        call: debbie-platform-webhooks.patchwebhookitem
        with:
          itemId: rest.itemId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: debbie-platform-webhooks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Debbie Platform API — Webhooks. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-webhook-items
      description: List webhook items
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: debbie-platform-webhooks.listwebhookitems
      outputParameters:
      - type: object
        mapping: $.
    - name: patch-webhook-item
      description: Patch a webhook item
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: debbie-platform-webhooks.patchwebhookitem
      with:
        itemId: tools.itemId
      outputParameters:
      - type: object
        mapping: $.