Lemon Squeezy · Capability

Lemon Squeezy API — Webhooks

Lemon Squeezy API — Webhooks. 5 operations. Lead operation: Lemon Squeezy List all webhooks. Self-contained Naftiko capability covering one Lemon Squeezy business surface.

Run with Naftiko Lemon SqueezyWebhooks

What You Can Do

GET
Get — Lemon Squeezy List all webhooks
/v1/v1/webhooks
POST
Post — Lemon Squeezy Create a webhook
/v1/v1/webhooks
GET
Get — Lemon Squeezy Retrieve a webhook
/v1/v1/webhooks/1
PATCH
Patch — Lemon Squeezy Update a webhook
/v1/v1/webhooks/1
DELETE
Delete — Lemon Squeezy Delete a webhook
/v1/v1/webhooks/1

MCP Tools

lemon-squeezy-list-all-webhooks

Lemon Squeezy List all webhooks

read-only idempotent
lemon-squeezy-create-webhook

Lemon Squeezy Create a webhook

lemon-squeezy-retrieve-webhook

Lemon Squeezy Retrieve a webhook

read-only idempotent
lemon-squeezy-update-webhook

Lemon Squeezy Update a webhook

idempotent
lemon-squeezy-delete-webhook

Lemon Squeezy Delete a webhook

idempotent

Capability Spec

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