Atlassian · Capability

Atlassian Bitbucket API — Workspaces - Webhooks

Atlassian Bitbucket API — Workspaces - Webhooks. 5 operations. Lead operation: Atlassian List Webhooks For A Workspace. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianWorkspaces - Webhooks

What You Can Do

GET
Atlassianlistwebhooksforaworkspace — Atlassian List Webhooks For A Workspace
/v1/workspaces/{workspace}/hooks
POST
Atlassiancreateawebhookforaworkspace — Atlassian Create A Webhook For A Workspace
/v1/workspaces/{workspace}/hooks
DELETE
Atlassiandeleteawebhookforaworkspace — Atlassian Delete A Webhook For A Workspace
/v1/workspaces/{workspace}/hooks/{uid}
GET
Atlassiangetawebhookforaworkspace — Atlassian Get A Webhook For A Workspace
/v1/workspaces/{workspace}/hooks/{uid}
PUT
Atlassianupdateawebhookforaworkspace — Atlassian Update A Webhook For A Workspace
/v1/workspaces/{workspace}/hooks/{uid}

MCP Tools

atlassian-list-webhooks-workspace

Atlassian List Webhooks For A Workspace

read-only idempotent
atlassian-create-webhook-workspace

Atlassian Create A Webhook For A Workspace

atlassian-delete-webhook-workspace

Atlassian Delete A Webhook For A Workspace

idempotent
atlassian-get-webhook-workspace

Atlassian Get A Webhook For A Workspace

read-only idempotent
atlassian-update-webhook-workspace

Atlassian Update A Webhook For A Workspace

idempotent

Capability Spec

bitbucket-workspaces-webhooks-2.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bitbucket API — Workspaces - Webhooks
  description: 'Atlassian Bitbucket API — Workspaces - Webhooks. 5 operations. Lead operation: Atlassian List Webhooks For
    A Workspace. Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Workspaces - Webhooks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: bitbucket-workspaces-webhooks-2
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bitbucket API — Workspaces - Webhooks business capability. Self-contained, no shared references.
    resources:
    - name: workspaces-workspace-hooks
      path: /workspaces/{workspace}/hooks
      operations:
      - name: atlassianlistwebhooksforaworkspace
        method: GET
        description: Atlassian List Webhooks For A Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: atlassiancreateawebhookforaworkspace
        method: POST
        description: Atlassian Create A Webhook For A Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workspaces-workspace-hooks-uid
      path: /workspaces/{workspace}/hooks/{uid}
      operations:
      - name: atlassiandeleteawebhookforaworkspace
        method: DELETE
        description: Atlassian Delete A Webhook For A Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: atlassiangetawebhookforaworkspace
        method: GET
        description: Atlassian Get A Webhook For A Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: atlassianupdateawebhookforaworkspace
        method: PUT
        description: Atlassian Update A Webhook For A Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: bitbucket-workspaces-webhooks-2-rest
    port: 8080
    description: REST adapter for Atlassian Bitbucket API — Workspaces - Webhooks. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/workspaces/{workspace}/hooks
      name: workspaces-workspace-hooks
      description: REST surface for workspaces-workspace-hooks.
      operations:
      - method: GET
        name: atlassianlistwebhooksforaworkspace
        description: Atlassian List Webhooks For A Workspace
        call: bitbucket-workspaces-webhooks-2.atlassianlistwebhooksforaworkspace
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: atlassiancreateawebhookforaworkspace
        description: Atlassian Create A Webhook For A Workspace
        call: bitbucket-workspaces-webhooks-2.atlassiancreateawebhookforaworkspace
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/workspaces/{workspace}/hooks/{uid}
      name: workspaces-workspace-hooks-uid
      description: REST surface for workspaces-workspace-hooks-uid.
      operations:
      - method: DELETE
        name: atlassiandeleteawebhookforaworkspace
        description: Atlassian Delete A Webhook For A Workspace
        call: bitbucket-workspaces-webhooks-2.atlassiandeleteawebhookforaworkspace
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: atlassiangetawebhookforaworkspace
        description: Atlassian Get A Webhook For A Workspace
        call: bitbucket-workspaces-webhooks-2.atlassiangetawebhookforaworkspace
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: atlassianupdateawebhookforaworkspace
        description: Atlassian Update A Webhook For A Workspace
        call: bitbucket-workspaces-webhooks-2.atlassianupdateawebhookforaworkspace
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-workspaces-webhooks-2-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bitbucket API — Workspaces - Webhooks. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: atlassian-list-webhooks-workspace
      description: Atlassian List Webhooks For A Workspace
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-webhooks-2.atlassianlistwebhooksforaworkspace
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-create-webhook-workspace
      description: Atlassian Create A Webhook For A Workspace
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: bitbucket-workspaces-webhooks-2.atlassiancreateawebhookforaworkspace
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-delete-webhook-workspace
      description: Atlassian Delete A Webhook For A Workspace
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bitbucket-workspaces-webhooks-2.atlassiandeleteawebhookforaworkspace
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-webhook-workspace
      description: Atlassian Get A Webhook For A Workspace
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-webhooks-2.atlassiangetawebhookforaworkspace
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-update-webhook-workspace
      description: Atlassian Update A Webhook For A Workspace
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-webhooks-2.atlassianupdateawebhookforaworkspace
      outputParameters:
      - type: object
        mapping: $.