naftiko: 1.0.0-alpha2 info: label: Sinch Elastic SIP Trunking API — SIP Endpoints description: 'Sinch Elastic SIP Trunking API — SIP Endpoints. 5 operations. Lead operation: List Sip Endpoints. Self-contained Naftiko capability covering one Sinch business surface.' tags: - Sinch - SIP Endpoints created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SINCH_API_KEY: SINCH_API_KEY capability: consumes: - type: http namespace: elastic-sip-trunking-sip-endpoints baseUri: https://elastic-trunking.api.sinch.com description: Sinch Elastic SIP Trunking API — SIP Endpoints business capability. Self-contained, no shared references. resources: - name: v1-projects-project_id-trunks-trunk_id-sipEndpoints path: /v1/projects/{project_id}/trunks/{trunk_id}/sipEndpoints operations: - name: listsipendpoints method: GET description: List Sip Endpoints outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createsipendpoint method: POST description: Create a Sip Endpoint outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-projects-project_id-trunks-trunk_id-sipEndpoints-endpoint_id path: /v1/projects/{project_id}/trunks/{trunk_id}/sipEndpoints/{endpoint_id} operations: - name: getsipendpoint method: GET description: Get a Sip Endpoint outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatesipendpoint method: PATCH description: Update a Sip Endpoint outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletesipendpoint method: DELETE description: Delete a Sip Endpoint outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SINCH_API_KEY}}' exposes: - type: rest namespace: elastic-sip-trunking-sip-endpoints-rest port: 8080 description: REST adapter for Sinch Elastic SIP Trunking API — SIP Endpoints. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/projects/{project-id}/trunks/{trunk-id}/sipendpoints name: v1-projects-project-id-trunks-trunk-id-sipendpoints description: REST surface for v1-projects-project_id-trunks-trunk_id-sipEndpoints. operations: - method: GET name: listsipendpoints description: List Sip Endpoints call: elastic-sip-trunking-sip-endpoints.listsipendpoints outputParameters: - type: object mapping: $. - method: POST name: createsipendpoint description: Create a Sip Endpoint call: elastic-sip-trunking-sip-endpoints.createsipendpoint with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/projects/{project-id}/trunks/{trunk-id}/sipendpoints/{endpoint-id} name: v1-projects-project-id-trunks-trunk-id-sipendpoints-endpoint-id description: REST surface for v1-projects-project_id-trunks-trunk_id-sipEndpoints-endpoint_id. operations: - method: GET name: getsipendpoint description: Get a Sip Endpoint call: elastic-sip-trunking-sip-endpoints.getsipendpoint outputParameters: - type: object mapping: $. - method: PATCH name: updatesipendpoint description: Update a Sip Endpoint call: elastic-sip-trunking-sip-endpoints.updatesipendpoint with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesipendpoint description: Delete a Sip Endpoint call: elastic-sip-trunking-sip-endpoints.deletesipendpoint outputParameters: - type: object mapping: $. - type: mcp namespace: elastic-sip-trunking-sip-endpoints-mcp port: 9090 transport: http description: MCP adapter for Sinch Elastic SIP Trunking API — SIP Endpoints. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-sip-endpoints description: List Sip Endpoints hints: readOnly: true destructive: false idempotent: true call: elastic-sip-trunking-sip-endpoints.listsipendpoints outputParameters: - type: object mapping: $. - name: create-sip-endpoint description: Create a Sip Endpoint hints: readOnly: false destructive: false idempotent: false call: elastic-sip-trunking-sip-endpoints.createsipendpoint with: body: tools.body outputParameters: - type: object mapping: $. - name: get-sip-endpoint description: Get a Sip Endpoint hints: readOnly: true destructive: false idempotent: true call: elastic-sip-trunking-sip-endpoints.getsipendpoint outputParameters: - type: object mapping: $. - name: update-sip-endpoint description: Update a Sip Endpoint hints: readOnly: false destructive: false idempotent: true call: elastic-sip-trunking-sip-endpoints.updatesipendpoint with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-sip-endpoint description: Delete a Sip Endpoint hints: readOnly: false destructive: true idempotent: true call: elastic-sip-trunking-sip-endpoints.deletesipendpoint outputParameters: - type: object mapping: $.