Lago · Capability

Lago API documentation — Webhooks

Lago API documentation — Webhooks. 1 operations. Lead operation: Lago Retrieve webhook public key. Self-contained Naftiko capability covering one Lago business surface.

Run with Naftiko LagoWebhooks

What You Can Do

GET
Fetchpublickey — Lago Retrieve webhook public key
/v1/webhooks/public-key

MCP Tools

lago-retrieve-webhook-public-key

Lago Retrieve webhook public key

read-only idempotent

Capability Spec

lago-webhooks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Lago API documentation — Webhooks
  description: 'Lago API documentation — Webhooks. 1 operations. Lead operation: Lago Retrieve webhook public key. Self-contained
    Naftiko capability covering one Lago business surface.'
  tags:
  - Lago
  - Webhooks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LAGO_API_KEY: LAGO_API_KEY
capability:
  consumes:
  - type: http
    namespace: lago-webhooks
    baseUri: https://api.getlago.com/api/v1
    description: Lago API documentation — Webhooks business capability. Self-contained, no shared references.
    resources:
    - name: webhooks-public_key
      path: /webhooks/public_key
      operations:
      - name: fetchpublickey
        method: GET
        description: Lago Retrieve webhook public key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.LAGO_API_KEY}}'
  exposes:
  - type: rest
    namespace: lago-webhooks-rest
    port: 8080
    description: REST adapter for Lago API documentation — Webhooks. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/webhooks/public-key
      name: webhooks-public-key
      description: REST surface for webhooks-public_key.
      operations:
      - method: GET
        name: fetchpublickey
        description: Lago Retrieve webhook public key
        call: lago-webhooks.fetchpublickey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lago-webhooks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Lago API documentation — Webhooks. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: lago-retrieve-webhook-public-key
      description: Lago Retrieve webhook public key
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lago-webhooks.fetchpublickey
      outputParameters:
      - type: object
        mapping: $.