Demandbase · Capability

Demandbase Engagement API — Webhooks

Demandbase Engagement API — Webhooks. 3 operations. Lead operation: Demandbase List webhooks. Self-contained Naftiko capability covering one Demandbase business surface.

Run with Naftiko DemandbaseWebhooks

What You Can Do

GET
Listwebhooks — Demandbase List webhooks
/v1/webhooks
POST
Createwebhook — Demandbase Create a webhook
/v1/webhooks
DELETE
Deletewebhook — Demandbase Delete a webhook
/v1/webhooks/{webhookid}

MCP Tools

demandbase-list-webhooks

Demandbase List webhooks

read-only idempotent
demandbase-create-webhook

Demandbase Create a webhook

demandbase-delete-webhook

Demandbase Delete a webhook

idempotent

Capability Spec

engagement-webhooks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Demandbase Engagement API — Webhooks
  description: 'Demandbase Engagement API — Webhooks. 3 operations. Lead operation: Demandbase List webhooks. Self-contained
    Naftiko capability covering one Demandbase business surface.'
  tags:
  - Demandbase
  - Webhooks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DEMANDBASE_API_KEY: DEMANDBASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: engagement-webhooks
    baseUri: https://api.demandbase.com/engagement
    description: Demandbase Engagement API — Webhooks business capability. Self-contained, no shared references.
    resources:
    - name: webhooks
      path: /webhooks
      operations:
      - name: listwebhooks
        method: GET
        description: Demandbase List webhooks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createwebhook
        method: POST
        description: Demandbase Create a webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: webhooks-webhookId
      path: /webhooks/{webhookId}
      operations:
      - name: deletewebhook
        method: DELETE
        description: Demandbase Delete a webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: webhookId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.DEMANDBASE_API_KEY}}'
  exposes:
  - type: rest
    namespace: engagement-webhooks-rest
    port: 8080
    description: REST adapter for Demandbase Engagement API — Webhooks. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/webhooks
      name: webhooks
      description: REST surface for webhooks.
      operations:
      - method: GET
        name: listwebhooks
        description: Demandbase List webhooks
        call: engagement-webhooks.listwebhooks
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createwebhook
        description: Demandbase Create a webhook
        call: engagement-webhooks.createwebhook
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhooks/{webhookid}
      name: webhooks-webhookid
      description: REST surface for webhooks-webhookId.
      operations:
      - method: DELETE
        name: deletewebhook
        description: Demandbase Delete a webhook
        call: engagement-webhooks.deletewebhook
        with:
          webhookId: rest.webhookId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: engagement-webhooks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Demandbase Engagement API — Webhooks. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: demandbase-list-webhooks
      description: Demandbase List webhooks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: engagement-webhooks.listwebhooks
      outputParameters:
      - type: object
        mapping: $.
    - name: demandbase-create-webhook
      description: Demandbase Create a webhook
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: engagement-webhooks.createwebhook
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: demandbase-delete-webhook
      description: Demandbase Delete a webhook
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: engagement-webhooks.deletewebhook
      with:
        webhookId: tools.webhookId
      outputParameters:
      - type: object
        mapping: $.