Telnyx · Capability

Telnyx API — Webhooks

Telnyx API — Webhooks. 2 operations. Lead operation: List webhook deliveries. Self-contained Naftiko capability covering one Telnyx business surface.

Run with Naftiko TelnyxWebhooks

What You Can Do

GET
Getwebhookdeliveries — List webhook deliveries
/v1/webhook-deliveries
GET
Getwebhookdelivery — Find webhook_delivery details by ID
/v1/webhook-deliveries/{id}

MCP Tools

list-webhook-deliveries

List webhook deliveries

read-only idempotent
find-webhook-delivery-details-id

Find webhook_delivery details by ID

read-only idempotent

Capability Spec

telnyx-webhooks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Telnyx API — Webhooks
  description: 'Telnyx API — Webhooks. 2 operations. Lead operation: List webhook deliveries. Self-contained Naftiko capability
    covering one Telnyx business surface.'
  tags:
  - Telnyx
  - Webhooks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TELNYX_API_KEY: TELNYX_API_KEY
capability:
  consumes:
  - type: http
    namespace: telnyx-webhooks
    baseUri: https://api.telnyx.com/v2
    description: Telnyx API — Webhooks business capability. Self-contained, no shared references.
    resources:
    - name: webhook_deliveries
      path: /webhook_deliveries
      operations:
      - name: getwebhookdeliveries
        method: GET
        description: List webhook deliveries
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter
          in: query
          type: object
          description: 'Consolidated filter parameter (deepObject style). Originally: filter[status][eq], filter[event_type],
            filter[webhook][contains], filter[attempts][contains], fil'
    - name: webhook_deliveries-id
      path: /webhook_deliveries/{id}
      operations:
      - name: getwebhookdelivery
        method: GET
        description: Find webhook_delivery details by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Uniquely identifies the webhook_delivery.
          required: true
    authentication:
      type: bearer
      token: '{{env.TELNYX_API_KEY}}'
  exposes:
  - type: rest
    namespace: telnyx-webhooks-rest
    port: 8080
    description: REST adapter for Telnyx API — Webhooks. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/webhook-deliveries
      name: webhook-deliveries
      description: REST surface for webhook_deliveries.
      operations:
      - method: GET
        name: getwebhookdeliveries
        description: List webhook deliveries
        call: telnyx-webhooks.getwebhookdeliveries
        with:
          filter: rest.filter
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhook-deliveries/{id}
      name: webhook-deliveries-id
      description: REST surface for webhook_deliveries-id.
      operations:
      - method: GET
        name: getwebhookdelivery
        description: Find webhook_delivery details by ID
        call: telnyx-webhooks.getwebhookdelivery
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: telnyx-webhooks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Telnyx API — Webhooks. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-webhook-deliveries
      description: List webhook deliveries
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: telnyx-webhooks.getwebhookdeliveries
      with:
        filter: tools.filter
      outputParameters:
      - type: object
        mapping: $.
    - name: find-webhook-delivery-details-id
      description: Find webhook_delivery details by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: telnyx-webhooks.getwebhookdelivery
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.