ngrok · Capability

Ngrok API — Event Subscriptions

Ngrok API — Event Subscriptions. 5 operations. Lead operation: Ngrok Create Event Subscription. Self-contained Naftiko capability covering one Ngrok business surface.

Run with Naftiko NgrokEvent Subscriptions

What You Can Do

POST
Createeventsubscription — Ngrok Create Event Subscription
/v1/event-subscriptions
GET
Listeventsubscriptions — Ngrok List Event Subscriptions
/v1/event-subscriptions
GET
Geteventsubscription — Ngrok Get Event Subscription
/v1/event-subscriptions/{id}
PATCH
Updateeventsubscription — Ngrok Update Event Subscription
/v1/event-subscriptions/{id}
DELETE
Deleteeventsubscription — Ngrok Delete Event Subscription
/v1/event-subscriptions/{id}

MCP Tools

ngrok-create-event-subscription

Ngrok Create Event Subscription

ngrok-list-event-subscriptions

Ngrok List Event Subscriptions

read-only idempotent
ngrok-get-event-subscription

Ngrok Get Event Subscription

read-only idempotent
ngrok-update-event-subscription

Ngrok Update Event Subscription

idempotent
ngrok-delete-event-subscription

Ngrok Delete Event Subscription

idempotent

Capability Spec

ngrok-event-subscriptions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Ngrok API — Event Subscriptions
  description: 'Ngrok API — Event Subscriptions. 5 operations. Lead operation: Ngrok Create Event Subscription. Self-contained
    Naftiko capability covering one Ngrok business surface.'
  tags:
  - Ngrok
  - Event Subscriptions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NGROK_API_KEY: NGROK_API_KEY
capability:
  consumes:
  - type: http
    namespace: ngrok-event-subscriptions
    baseUri: https://api.ngrok.com
    description: Ngrok API — Event Subscriptions business capability. Self-contained, no shared references.
    resources:
    - name: event_subscriptions
      path: /event_subscriptions
      operations:
      - name: createeventsubscription
        method: POST
        description: Ngrok Create Event Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listeventsubscriptions
        method: GET
        description: Ngrok List Event Subscriptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: event_subscriptions-id
      path: /event_subscriptions/{id}
      operations:
      - name: geteventsubscription
        method: GET
        description: Ngrok Get Event Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateeventsubscription
        method: PATCH
        description: Ngrok Update Event Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteeventsubscription
        method: DELETE
        description: Ngrok Delete Event Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.NGROK_API_KEY}}'
  exposes:
  - type: rest
    namespace: ngrok-event-subscriptions-rest
    port: 8080
    description: REST adapter for Ngrok API — Event Subscriptions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/event-subscriptions
      name: event-subscriptions
      description: REST surface for event_subscriptions.
      operations:
      - method: POST
        name: createeventsubscription
        description: Ngrok Create Event Subscription
        call: ngrok-event-subscriptions.createeventsubscription
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listeventsubscriptions
        description: Ngrok List Event Subscriptions
        call: ngrok-event-subscriptions.listeventsubscriptions
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/event-subscriptions/{id}
      name: event-subscriptions-id
      description: REST surface for event_subscriptions-id.
      operations:
      - method: GET
        name: geteventsubscription
        description: Ngrok Get Event Subscription
        call: ngrok-event-subscriptions.geteventsubscription
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateeventsubscription
        description: Ngrok Update Event Subscription
        call: ngrok-event-subscriptions.updateeventsubscription
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteeventsubscription
        description: Ngrok Delete Event Subscription
        call: ngrok-event-subscriptions.deleteeventsubscription
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ngrok-event-subscriptions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Ngrok API — Event Subscriptions. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: ngrok-create-event-subscription
      description: Ngrok Create Event Subscription
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: ngrok-event-subscriptions.createeventsubscription
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: ngrok-list-event-subscriptions
      description: Ngrok List Event Subscriptions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ngrok-event-subscriptions.listeventsubscriptions
      outputParameters:
      - type: object
        mapping: $.
    - name: ngrok-get-event-subscription
      description: Ngrok Get Event Subscription
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ngrok-event-subscriptions.geteventsubscription
      outputParameters:
      - type: object
        mapping: $.
    - name: ngrok-update-event-subscription
      description: Ngrok Update Event Subscription
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: ngrok-event-subscriptions.updateeventsubscription
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: ngrok-delete-event-subscription
      description: Ngrok Delete Event Subscription
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: ngrok-event-subscriptions.deleteeventsubscription
      outputParameters:
      - type: object
        mapping: $.