naftiko: 1.0.0-alpha2 info: label: Unified.to API — integration description: 'Unified.to API — integration. 3 operations. Lead operation: Returns all integrations. Self-contained Naftiko capability covering one Unified To business surface.' tags: - Unified To - integration created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UNIFIED_TO_API_KEY: UNIFIED_TO_API_KEY capability: consumes: - type: http namespace: unified-core-integration baseUri: https://api.unified.to description: Unified.to API — integration business capability. Self-contained, no shared references. resources: - name: unified-integration path: /unified/integration operations: - name: listunifiedintegrations method: GET description: Returns all integrations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: number - name: offset in: query type: number - name: updated_gte in: query type: string - name: categories in: query type: array description: Filter the results on these categories - name: summary in: query type: boolean - name: active in: query type: boolean description: Filter the results for only the workspace's active integrations - name: env in: query type: string - name: type in: query type: string description: Filter the results for only this integration type - name: unified-integration-auth-workspace_id-integration_type path: /unified/integration/auth/{workspace_id}/{integration_type} operations: - name: getunifiedintegrationauth method: GET description: Authorize new connection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: success_redirect in: query type: string description: The URL where you want the user to be redirect to after a successful authorization. The connection ID will be appended with (id=) to this URL, as - name: failure_redirect in: query type: string description: The URL where you want the user to be redirect to after an unsuccessful authentication. An "error" variable will be appended. - name: state in: query type: string description: Extra state to send back to your success URL - name: external_xref in: query type: string description: Your user identifier to associate with the new Integration - name: scopes in: query type: array - name: redirect in: query type: boolean - name: env in: query type: string - name: lang in: query type: string description: 'Language: en, fr, es, it, pt, zh, hi' - name: subdomain in: query type: string description: Optional tenant domain or subdomain for integrations that require it to build the authorize, token, or API URL. Depending on the integration, this may be a bare - name: workspace_id in: path type: string description: The ID of the workspace required: true - name: integration_type in: path type: string description: Type of the supported integration required: true - name: unified-integration-workspace-workspace_id path: /unified/integration/workspace/{workspace_id} operations: - name: listunifiedintegrationworkspaces method: GET description: Returns all activated integrations in a workspace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: number - name: offset in: query type: number - name: updated_gte in: query type: string - name: categories in: query type: array description: Filter the results on these categories - name: summary in: query type: boolean - name: active in: query type: boolean description: Filter the results for only the workspace's active integrations - name: env in: query type: string - name: workspace_id in: path type: string description: The ID of the workspace required: true authentication: type: apikey key: authorization value: '{{env.UNIFIED_TO_API_KEY}}' placement: header exposes: - type: rest namespace: unified-core-integration-rest port: 8080 description: REST adapter for Unified.to API — integration. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/unified/integration name: unified-integration description: REST surface for unified-integration. operations: - method: GET name: listunifiedintegrations description: Returns all integrations call: unified-core-integration.listunifiedintegrations with: limit: rest.limit offset: rest.offset updated_gte: rest.updated_gte categories: rest.categories summary: rest.summary active: rest.active env: rest.env type: rest.type outputParameters: - type: object mapping: $. - path: /v1/unified/integration/auth/{workspace-id}/{integration-type} name: unified-integration-auth-workspace-id-integration-type description: REST surface for unified-integration-auth-workspace_id-integration_type. operations: - method: GET name: getunifiedintegrationauth description: Authorize new connection call: unified-core-integration.getunifiedintegrationauth with: success_redirect: rest.success_redirect failure_redirect: rest.failure_redirect state: rest.state external_xref: rest.external_xref scopes: rest.scopes redirect: rest.redirect env: rest.env lang: rest.lang subdomain: rest.subdomain workspace_id: rest.workspace_id integration_type: rest.integration_type outputParameters: - type: object mapping: $. - path: /v1/unified/integration/workspace/{workspace-id} name: unified-integration-workspace-workspace-id description: REST surface for unified-integration-workspace-workspace_id. operations: - method: GET name: listunifiedintegrationworkspaces description: Returns all activated integrations in a workspace call: unified-core-integration.listunifiedintegrationworkspaces with: limit: rest.limit offset: rest.offset updated_gte: rest.updated_gte categories: rest.categories summary: rest.summary active: rest.active env: rest.env workspace_id: rest.workspace_id outputParameters: - type: object mapping: $. - type: mcp namespace: unified-core-integration-mcp port: 9090 transport: http description: MCP adapter for Unified.to API — integration. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: returns-all-integrations description: Returns all integrations hints: readOnly: true destructive: false idempotent: true call: unified-core-integration.listunifiedintegrations with: limit: tools.limit offset: tools.offset updated_gte: tools.updated_gte categories: tools.categories summary: tools.summary active: tools.active env: tools.env type: tools.type outputParameters: - type: object mapping: $. - name: authorize-new-connection description: Authorize new connection hints: readOnly: true destructive: false idempotent: true call: unified-core-integration.getunifiedintegrationauth with: success_redirect: tools.success_redirect failure_redirect: tools.failure_redirect state: tools.state external_xref: tools.external_xref scopes: tools.scopes redirect: tools.redirect env: tools.env lang: tools.lang subdomain: tools.subdomain workspace_id: tools.workspace_id integration_type: tools.integration_type outputParameters: - type: object mapping: $. - name: returns-all-activated-integrations-workspace description: Returns all activated integrations in a workspace hints: readOnly: true destructive: false idempotent: true call: unified-core-integration.listunifiedintegrationworkspaces with: limit: tools.limit offset: tools.offset updated_gte: tools.updated_gte categories: tools.categories summary: tools.summary active: tools.active env: tools.env workspace_id: tools.workspace_id outputParameters: - type: object mapping: $.