Telnyx · Capability

Telnyx API — Phone Number Porting

Telnyx API — Phone Number Porting. 1 operations. Lead operation: Run a portability check. Self-contained Naftiko capability covering one Telnyx business surface.

Run with Naftiko TelnyxPhone Number Porting

What You Can Do

POST
Postportabilitycheck — Run a portability check
/v1/portability-checks

MCP Tools

run-portability-check

Run a portability check

Capability Spec

telnyx-phone-number-porting.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Telnyx API — Phone Number Porting
  description: 'Telnyx API — Phone Number Porting. 1 operations. Lead operation: Run a portability check. Self-contained Naftiko
    capability covering one Telnyx business surface.'
  tags:
  - Telnyx
  - Phone Number Porting
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TELNYX_API_KEY: TELNYX_API_KEY
capability:
  consumes:
  - type: http
    namespace: telnyx-phone-number-porting
    baseUri: https://api.telnyx.com/v2
    description: Telnyx API — Phone Number Porting business capability. Self-contained, no shared references.
    resources:
    - name: portability_checks
      path: /portability_checks
      operations:
      - name: postportabilitycheck
        method: POST
        description: Run a portability check
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.TELNYX_API_KEY}}'
  exposes:
  - type: rest
    namespace: telnyx-phone-number-porting-rest
    port: 8080
    description: REST adapter for Telnyx API — Phone Number Porting. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/portability-checks
      name: portability-checks
      description: REST surface for portability_checks.
      operations:
      - method: POST
        name: postportabilitycheck
        description: Run a portability check
        call: telnyx-phone-number-porting.postportabilitycheck
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: telnyx-phone-number-porting-mcp
    port: 9090
    transport: http
    description: MCP adapter for Telnyx API — Phone Number Porting. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: run-portability-check
      description: Run a portability check
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: telnyx-phone-number-porting.postportabilitycheck
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.