Telnyx · Capability

Telnyx API — Integration Secrets

Telnyx API — Integration Secrets. 3 operations. Lead operation: List integration secrets. Self-contained Naftiko capability covering one Telnyx business surface.

Run with Naftiko TelnyxIntegration Secrets

What You Can Do

GET
Listintegrationsecrets — List integration secrets
/v1/integration-secrets
POST
Createintegrationsecret — Create a secret
/v1/integration-secrets
DELETE
Deleteintegrationsecret — Delete an integration secret
/v1/integration-secrets/{id}

MCP Tools

list-integration-secrets

List integration secrets

read-only idempotent
create-secret

Create a secret

delete-integration-secret

Delete an integration secret

idempotent

Capability Spec

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