Telnyx · Capability

Telnyx API — Public Internet Gateways

Telnyx API — Public Internet Gateways. 4 operations. Lead operation: List all Public Internet Gateways. Self-contained Naftiko capability covering one Telnyx business surface.

Run with Naftiko TelnyxPublic Internet Gateways

What You Can Do

GET
Listpublicinternetgateways — List all Public Internet Gateways
/v1/public-internet-gateways
POST
Createpublicinternetgateway — Create a Public Internet Gateway
/v1/public-internet-gateways
DELETE
Deletepublicinternetgateway — Delete a Public Internet Gateway
/v1/public-internet-gateways/{id}
GET
Getpublicinternetgateway — Retrieve a Public Internet Gateway
/v1/public-internet-gateways/{id}

MCP Tools

list-all-public-internet-gateways

List all Public Internet Gateways

read-only idempotent
create-public-internet-gateway

Create a Public Internet Gateway

delete-public-internet-gateway

Delete a Public Internet Gateway

idempotent
retrieve-public-internet-gateway

Retrieve a Public Internet Gateway

read-only idempotent

Capability Spec

telnyx-public-internet-gateways.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Telnyx API — Public Internet Gateways
  description: 'Telnyx API — Public Internet Gateways. 4 operations. Lead operation: List all Public Internet Gateways. Self-contained
    Naftiko capability covering one Telnyx business surface.'
  tags:
  - Telnyx
  - Public Internet Gateways
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TELNYX_API_KEY: TELNYX_API_KEY
capability:
  consumes:
  - type: http
    namespace: telnyx-public-internet-gateways
    baseUri: https://api.telnyx.com/v2
    description: Telnyx API — Public Internet Gateways business capability. Self-contained, no shared references.
    resources:
    - name: public_internet_gateways
      path: /public_internet_gateways
      operations:
      - name: listpublicinternetgateways
        method: GET
        description: List all Public Internet Gateways
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter
          in: query
          type: object
          description: 'Consolidated filter parameter (deepObject style). Originally: filter[network_id]'
      - name: createpublicinternetgateway
        method: POST
        description: Create a Public Internet Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: public_internet_gateways-id
      path: /public_internet_gateways/{id}
      operations:
      - name: deletepublicinternetgateway
        method: DELETE
        description: Delete a Public Internet Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getpublicinternetgateway
        method: GET
        description: Retrieve a Public Internet Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.TELNYX_API_KEY}}'
  exposes:
  - type: rest
    namespace: telnyx-public-internet-gateways-rest
    port: 8080
    description: REST adapter for Telnyx API — Public Internet Gateways. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/public-internet-gateways
      name: public-internet-gateways
      description: REST surface for public_internet_gateways.
      operations:
      - method: GET
        name: listpublicinternetgateways
        description: List all Public Internet Gateways
        call: telnyx-public-internet-gateways.listpublicinternetgateways
        with:
          filter: rest.filter
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createpublicinternetgateway
        description: Create a Public Internet Gateway
        call: telnyx-public-internet-gateways.createpublicinternetgateway
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/public-internet-gateways/{id}
      name: public-internet-gateways-id
      description: REST surface for public_internet_gateways-id.
      operations:
      - method: DELETE
        name: deletepublicinternetgateway
        description: Delete a Public Internet Gateway
        call: telnyx-public-internet-gateways.deletepublicinternetgateway
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getpublicinternetgateway
        description: Retrieve a Public Internet Gateway
        call: telnyx-public-internet-gateways.getpublicinternetgateway
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: telnyx-public-internet-gateways-mcp
    port: 9090
    transport: http
    description: MCP adapter for Telnyx API — Public Internet Gateways. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-all-public-internet-gateways
      description: List all Public Internet Gateways
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: telnyx-public-internet-gateways.listpublicinternetgateways
      with:
        filter: tools.filter
      outputParameters:
      - type: object
        mapping: $.
    - name: create-public-internet-gateway
      description: Create a Public Internet Gateway
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: telnyx-public-internet-gateways.createpublicinternetgateway
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-public-internet-gateway
      description: Delete a Public Internet Gateway
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: telnyx-public-internet-gateways.deletepublicinternetgateway
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-public-internet-gateway
      description: Retrieve a Public Internet Gateway
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: telnyx-public-internet-gateways.getpublicinternetgateway
      outputParameters:
      - type: object
        mapping: $.