naftiko: 1.0.0-alpha2 info: label: Telnyx API — SIPREC Connectors description: 'Telnyx API — SIPREC Connectors. 4 operations. Lead operation: Create a SIPREC connector. Self-contained Naftiko capability covering one Telnyx business surface.' tags: - Telnyx - SIPREC Connectors created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TELNYX_API_KEY: TELNYX_API_KEY capability: consumes: - type: http namespace: telnyx-siprec-connectors baseUri: https://api.telnyx.com/v2 description: Telnyx API — SIPREC Connectors business capability. Self-contained, no shared references. resources: - name: siprec_connectors path: /siprec_connectors operations: - name: createsiprecconnector method: POST description: Create a SIPREC connector outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: siprec_connectors-connector_name path: /siprec_connectors/{connector_name} operations: - name: deletesiprecconnector method: DELETE description: Delete a SIPREC connector outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getsiprecconnector method: GET description: Retrieve a SIPREC connector outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatesiprecconnector method: PUT description: Update a SIPREC connector outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.TELNYX_API_KEY}}' exposes: - type: rest namespace: telnyx-siprec-connectors-rest port: 8080 description: REST adapter for Telnyx API — SIPREC Connectors. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/siprec-connectors name: siprec-connectors description: REST surface for siprec_connectors. operations: - method: POST name: createsiprecconnector description: Create a SIPREC connector call: telnyx-siprec-connectors.createsiprecconnector with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/siprec-connectors/{connector-name} name: siprec-connectors-connector-name description: REST surface for siprec_connectors-connector_name. operations: - method: DELETE name: deletesiprecconnector description: Delete a SIPREC connector call: telnyx-siprec-connectors.deletesiprecconnector outputParameters: - type: object mapping: $. - method: GET name: getsiprecconnector description: Retrieve a SIPREC connector call: telnyx-siprec-connectors.getsiprecconnector outputParameters: - type: object mapping: $. - method: PUT name: updatesiprecconnector description: Update a SIPREC connector call: telnyx-siprec-connectors.updatesiprecconnector with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: telnyx-siprec-connectors-mcp port: 9090 transport: http description: MCP adapter for Telnyx API — SIPREC Connectors. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-siprec-connector description: Create a SIPREC connector hints: readOnly: false destructive: false idempotent: false call: telnyx-siprec-connectors.createsiprecconnector with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-siprec-connector description: Delete a SIPREC connector hints: readOnly: false destructive: true idempotent: true call: telnyx-siprec-connectors.deletesiprecconnector outputParameters: - type: object mapping: $. - name: retrieve-siprec-connector description: Retrieve a SIPREC connector hints: readOnly: true destructive: false idempotent: true call: telnyx-siprec-connectors.getsiprecconnector outputParameters: - type: object mapping: $. - name: update-siprec-connector description: Update a SIPREC connector hints: readOnly: false destructive: false idempotent: true call: telnyx-siprec-connectors.updatesiprecconnector with: body: tools.body outputParameters: - type: object mapping: $.