naftiko: 1.0.0-alpha2 info: label: Telnyx API — Integrations description: 'Telnyx API — Integrations. 5 operations. Lead operation: List Integrations. Self-contained Naftiko capability covering one Telnyx business surface.' tags: - Telnyx - Integrations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TELNYX_API_KEY: TELNYX_API_KEY capability: consumes: - type: http namespace: telnyx-integrations baseUri: https://api.telnyx.com/v2 description: Telnyx API — Integrations business capability. Self-contained, no shared references. resources: - name: ai-integrations path: /ai/integrations operations: - name: listintegrationspublicintegrationsget method: GET description: List Integrations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: ai-integrations-connections path: /ai/integrations/connections operations: - name: listuserintegrationspublicintegrationsconnectionsget method: GET description: List User Integrations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: ai-integrations-connections-user_connection_id path: /ai/integrations/connections/{user_connection_id} operations: - name: deleteintegrationconnection method: DELETE description: Delete Integration Connection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: user_connection_id in: path type: string description: The user integration connection identifier required: true - name: getuserintegrationbyidpublicintegrationsconnectionsuserconnectionidget method: GET description: Get User Integration connection By Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: user_connection_id in: path type: string description: The connection id required: true - name: ai-integrations-integration_id path: /ai/integrations/{integration_id} operations: - name: listintegrationbyidpublicintegrationsintegrationidget method: GET description: List Integration By Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: integration_id in: path type: string description: The integration id required: true authentication: type: bearer token: '{{env.TELNYX_API_KEY}}' exposes: - type: rest namespace: telnyx-integrations-rest port: 8080 description: REST adapter for Telnyx API — Integrations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/ai/integrations name: ai-integrations description: REST surface for ai-integrations. operations: - method: GET name: listintegrationspublicintegrationsget description: List Integrations call: telnyx-integrations.listintegrationspublicintegrationsget outputParameters: - type: object mapping: $. - path: /v1/ai/integrations/connections name: ai-integrations-connections description: REST surface for ai-integrations-connections. operations: - method: GET name: listuserintegrationspublicintegrationsconnectionsget description: List User Integrations call: telnyx-integrations.listuserintegrationspublicintegrationsconnectionsget outputParameters: - type: object mapping: $. - path: /v1/ai/integrations/connections/{user-connection-id} name: ai-integrations-connections-user-connection-id description: REST surface for ai-integrations-connections-user_connection_id. operations: - method: DELETE name: deleteintegrationconnection description: Delete Integration Connection call: telnyx-integrations.deleteintegrationconnection with: user_connection_id: rest.user_connection_id outputParameters: - type: object mapping: $. - method: GET name: getuserintegrationbyidpublicintegrationsconnectionsuserconnectionidget description: Get User Integration connection By Id call: telnyx-integrations.getuserintegrationbyidpublicintegrationsconnectionsuserconnectionidget with: user_connection_id: rest.user_connection_id outputParameters: - type: object mapping: $. - path: /v1/ai/integrations/{integration-id} name: ai-integrations-integration-id description: REST surface for ai-integrations-integration_id. operations: - method: GET name: listintegrationbyidpublicintegrationsintegrationidget description: List Integration By Id call: telnyx-integrations.listintegrationbyidpublicintegrationsintegrationidget with: integration_id: rest.integration_id outputParameters: - type: object mapping: $. - type: mcp namespace: telnyx-integrations-mcp port: 9090 transport: http description: MCP adapter for Telnyx API — Integrations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-integrations description: List Integrations hints: readOnly: true destructive: false idempotent: true call: telnyx-integrations.listintegrationspublicintegrationsget outputParameters: - type: object mapping: $. - name: list-user-integrations description: List User Integrations hints: readOnly: true destructive: false idempotent: true call: telnyx-integrations.listuserintegrationspublicintegrationsconnectionsget outputParameters: - type: object mapping: $. - name: delete-integration-connection description: Delete Integration Connection hints: readOnly: false destructive: true idempotent: true call: telnyx-integrations.deleteintegrationconnection with: user_connection_id: tools.user_connection_id outputParameters: - type: object mapping: $. - name: get-user-integration-connection-id description: Get User Integration connection By Id hints: readOnly: true destructive: false idempotent: true call: telnyx-integrations.getuserintegrationbyidpublicintegrationsconnectionsuserconnectionidget with: user_connection_id: tools.user_connection_id outputParameters: - type: object mapping: $. - name: list-integration-id description: List Integration By Id hints: readOnly: true destructive: false idempotent: true call: telnyx-integrations.listintegrationbyidpublicintegrationsintegrationidget with: integration_id: tools.integration_id outputParameters: - type: object mapping: $.