Asana · Capability

Asana Webhooks API — Webhooks

Asana Webhooks API — Webhooks. 5 operations. Lead operation: Asana Get multiple webhooks. Self-contained Naftiko capability covering one Asana business surface.

Run with Naftiko AsanaWebhooks

What You Can Do

GET
Getwebhooks — Asana Get multiple webhooks
/v1/webhooks
POST
Createwebhook — Asana Establish a webhook
/v1/webhooks
GET
Getwebhook — Asana Get a webhook
/v1/webhooks/{webhook-gid}
PUT
Updatewebhook — Asana Update a webhook
/v1/webhooks/{webhook-gid}
DELETE
Deletewebhook — Asana Delete a webhook
/v1/webhooks/{webhook-gid}

MCP Tools

asana-get-multiple-webhooks

Asana Get multiple webhooks

read-only idempotent
asana-establish-webhook

Asana Establish a webhook

asana-get-webhook

Asana Get a webhook

read-only idempotent
asana-update-webhook

Asana Update a webhook

idempotent
asana-delete-webhook

Asana Delete a webhook

idempotent

Capability Spec

webhooks-webhooks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Asana Webhooks API — Webhooks
  description: 'Asana Webhooks API — Webhooks. 5 operations. Lead operation: Asana Get multiple webhooks. Self-contained Naftiko
    capability covering one Asana business surface.'
  tags:
  - Asana
  - Webhooks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ASANA_API_KEY: ASANA_API_KEY
capability:
  consumes:
  - type: http
    namespace: webhooks-webhooks
    baseUri: https://app.asana.com/api/1.0
    description: Asana Webhooks API — Webhooks business capability. Self-contained, no shared references.
    resources:
    - name: webhooks
      path: /webhooks
      operations:
      - name: getwebhooks
        method: GET
        description: Asana Get multiple webhooks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: query
          type: string
          description: The workspace to query for webhooks in.
          required: true
        - name: resource
          in: query
          type: string
          description: Only return webhooks for the given resource.
        - name: limit
          in: query
          type: integer
        - name: offset
          in: query
          type: string
      - name: createwebhook
        method: POST
        description: Asana Establish 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-webhook_gid
      path: /webhooks/{webhook_gid}
      operations:
      - name: getwebhook
        method: GET
        description: Asana Get a webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: webhook_gid
          in: path
          type: string
          required: true
      - name: updatewebhook
        method: PUT
        description: Asana Update a webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: webhook_gid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletewebhook
        method: DELETE
        description: Asana Delete a webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: webhook_gid
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.ASANA_API_KEY}}'
  exposes:
  - type: rest
    namespace: webhooks-webhooks-rest
    port: 8080
    description: REST adapter for Asana Webhooks 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: getwebhooks
        description: Asana Get multiple webhooks
        call: webhooks-webhooks.getwebhooks
        with:
          workspace: rest.workspace
          resource: rest.resource
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createwebhook
        description: Asana Establish a webhook
        call: webhooks-webhooks.createwebhook
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhooks/{webhook-gid}
      name: webhooks-webhook-gid
      description: REST surface for webhooks-webhook_gid.
      operations:
      - method: GET
        name: getwebhook
        description: Asana Get a webhook
        call: webhooks-webhooks.getwebhook
        with:
          webhook_gid: rest.webhook_gid
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatewebhook
        description: Asana Update a webhook
        call: webhooks-webhooks.updatewebhook
        with:
          webhook_gid: rest.webhook_gid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletewebhook
        description: Asana Delete a webhook
        call: webhooks-webhooks.deletewebhook
        with:
          webhook_gid: rest.webhook_gid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: webhooks-webhooks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Asana Webhooks API — Webhooks. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: asana-get-multiple-webhooks
      description: Asana Get multiple webhooks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: webhooks-webhooks.getwebhooks
      with:
        workspace: tools.workspace
        resource: tools.resource
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-establish-webhook
      description: Asana Establish a webhook
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: webhooks-webhooks.createwebhook
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-get-webhook
      description: Asana Get a webhook
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: webhooks-webhooks.getwebhook
      with:
        webhook_gid: tools.webhook_gid
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-update-webhook
      description: Asana Update a webhook
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: webhooks-webhooks.updatewebhook
      with:
        webhook_gid: tools.webhook_gid
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-delete-webhook
      description: Asana Delete a webhook
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: webhooks-webhooks.deletewebhook
      with:
        webhook_gid: tools.webhook_gid
      outputParameters:
      - type: object
        mapping: $.