naftiko: 1.0.0-alpha2 info: label: Webex Contact Center — Journey - Trigger Actions API description: 'Webex Contact Center — Journey - Trigger Actions API. 7 operations. Lead operation: Get all Journey Actions. Self-contained Naftiko capability covering one Webex business surface.' tags: - Webex - Journey - Trigger Actions API created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WEBEX_API_KEY: WEBEX_API_KEY capability: consumes: - type: http namespace: contact-center-journey-trigger-actions-api baseUri: '' description: Webex Contact Center — Journey - Trigger Actions API business capability. Self-contained, no shared references. resources: - name: admin-v1-api-journey-actions-workspace-id-workspaceId path: /admin/v1/api/journey-actions/workspace-id/{workspaceId} operations: - name: getalljourneyactions method: GET description: Get all Journey Actions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: sortBy in: query type: string description: Sort By Field - name: sort in: query type: string description: Sort direction - name: page in: query type: integer description: Index of the page of results to be fetched. - name: pageSize in: query type: integer description: Number of items to be displayed on a page. - name: admin-v1-api-journey-actions-workspace-id-workspaceId-template-id-templateId path: /admin/v1/api/journey-actions/workspace-id/{workspaceId}/template-id/{templateId} operations: - name: getalljourneyactionsforatemplate method: GET description: Get all Journey Actions for a template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: templateId in: path type: string description: Template ID required: true - name: createjourneyactionconfiguration method: POST description: Create a new Journey Action outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: templateId in: path type: string description: Template ID required: true - name: body in: body type: object description: Request body (JSON). required: true - name: admin-v1-api-journey-actions-workspace-id-workspaceId-template-id-templateId-act path: /admin/v1/api/journey-actions/workspace-id/{workspaceId}/template-id/{templateId}/action-id/{actionId} operations: - name: getjourneyactiondetailsbyid method: GET description: Get specific Journey Action By ActionId outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: templateId in: path type: string description: Template ID required: true - name: actionId in: path type: string description: Action ID required: true - name: updatejourneyactionconfiguration method: PUT description: Update existing Journey Action outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: templateId in: path type: string description: Template ID required: true - name: actionId in: path type: string description: Action ID required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletejourneyactionbyid method: DELETE description: Delete Journey Action configuration By ActionId outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: templateId in: path type: string description: Template ID required: true - name: actionId in: path type: string description: Action ID required: true - name: admin-v1-api-journey-actions-workspace-id-workspaceId-template-id-templateId-act path: /admin/v1/api/journey-actions/workspace-id/{workspaceId}/template-id/{templateId}/action-name/{actionName} operations: - name: getjourneyactiondetailsbyname method: GET description: Get specific Journey Action By Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: templateId in: path type: string description: Template ID required: true - name: actionName in: path type: string description: Action Name required: true authentication: type: bearer token: '{{env.WEBEX_API_KEY}}' exposes: - type: rest namespace: contact-center-journey-trigger-actions-api-rest port: 8080 description: REST adapter for Webex Contact Center — Journey - Trigger Actions API. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/admin/v1/api/journey-actions/workspace-id/{workspaceid} name: admin-v1-api-journey-actions-workspace-id-workspaceid description: REST surface for admin-v1-api-journey-actions-workspace-id-workspaceId. operations: - method: GET name: getalljourneyactions description: Get all Journey Actions call: contact-center-journey-trigger-actions-api.getalljourneyactions with: workspaceId: rest.workspaceId sortBy: rest.sortBy sort: rest.sort page: rest.page pageSize: rest.pageSize outputParameters: - type: object mapping: $. - path: /v1/admin/v1/api/journey-actions/workspace-id/{workspaceid}/template-id/{templateid} name: admin-v1-api-journey-actions-workspace-id-workspaceid-template-id-templateid description: REST surface for admin-v1-api-journey-actions-workspace-id-workspaceId-template-id-templateId. operations: - method: GET name: getalljourneyactionsforatemplate description: Get all Journey Actions for a template call: contact-center-journey-trigger-actions-api.getalljourneyactionsforatemplate with: workspaceId: rest.workspaceId templateId: rest.templateId outputParameters: - type: object mapping: $. - method: POST name: createjourneyactionconfiguration description: Create a new Journey Action call: contact-center-journey-trigger-actions-api.createjourneyactionconfiguration with: workspaceId: rest.workspaceId templateId: rest.templateId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/v1/api/journey-actions/workspace-id/{workspaceid}/template-id/{templateid}/action-id/{actionid} name: admin-v1-api-journey-actions-workspace-id-workspaceid-template-id-templateid-act description: REST surface for admin-v1-api-journey-actions-workspace-id-workspaceId-template-id-templateId-act. operations: - method: GET name: getjourneyactiondetailsbyid description: Get specific Journey Action By ActionId call: contact-center-journey-trigger-actions-api.getjourneyactiondetailsbyid with: workspaceId: rest.workspaceId templateId: rest.templateId actionId: rest.actionId outputParameters: - type: object mapping: $. - method: PUT name: updatejourneyactionconfiguration description: Update existing Journey Action call: contact-center-journey-trigger-actions-api.updatejourneyactionconfiguration with: workspaceId: rest.workspaceId templateId: rest.templateId actionId: rest.actionId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletejourneyactionbyid description: Delete Journey Action configuration By ActionId call: contact-center-journey-trigger-actions-api.deletejourneyactionbyid with: workspaceId: rest.workspaceId templateId: rest.templateId actionId: rest.actionId outputParameters: - type: object mapping: $. - path: /v1/admin/v1/api/journey-actions/workspace-id/{workspaceid}/template-id/{templateid}/action-name/{actionname} name: admin-v1-api-journey-actions-workspace-id-workspaceid-template-id-templateid-act description: REST surface for admin-v1-api-journey-actions-workspace-id-workspaceId-template-id-templateId-act. operations: - method: GET name: getjourneyactiondetailsbyname description: Get specific Journey Action By Name call: contact-center-journey-trigger-actions-api.getjourneyactiondetailsbyname with: workspaceId: rest.workspaceId templateId: rest.templateId actionName: rest.actionName outputParameters: - type: object mapping: $. - type: mcp namespace: contact-center-journey-trigger-actions-api-mcp port: 9090 transport: http description: MCP adapter for Webex Contact Center — Journey - Trigger Actions API. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-all-journey-actions description: Get all Journey Actions hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-trigger-actions-api.getalljourneyactions with: workspaceId: tools.workspaceId sortBy: tools.sortBy sort: tools.sort page: tools.page pageSize: tools.pageSize outputParameters: - type: object mapping: $. - name: get-all-journey-actions-template description: Get all Journey Actions for a template hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-trigger-actions-api.getalljourneyactionsforatemplate with: workspaceId: tools.workspaceId templateId: tools.templateId outputParameters: - type: object mapping: $. - name: create-new-journey-action description: Create a new Journey Action hints: readOnly: false destructive: false idempotent: false call: contact-center-journey-trigger-actions-api.createjourneyactionconfiguration with: workspaceId: tools.workspaceId templateId: tools.templateId body: tools.body outputParameters: - type: object mapping: $. - name: get-specific-journey-action-actionid description: Get specific Journey Action By ActionId hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-trigger-actions-api.getjourneyactiondetailsbyid with: workspaceId: tools.workspaceId templateId: tools.templateId actionId: tools.actionId outputParameters: - type: object mapping: $. - name: update-existing-journey-action description: Update existing Journey Action hints: readOnly: false destructive: false idempotent: true call: contact-center-journey-trigger-actions-api.updatejourneyactionconfiguration with: workspaceId: tools.workspaceId templateId: tools.templateId actionId: tools.actionId body: tools.body outputParameters: - type: object mapping: $. - name: delete-journey-action-configuration-actionid description: Delete Journey Action configuration By ActionId hints: readOnly: false destructive: true idempotent: true call: contact-center-journey-trigger-actions-api.deletejourneyactionbyid with: workspaceId: tools.workspaceId templateId: tools.templateId actionId: tools.actionId outputParameters: - type: object mapping: $. - name: get-specific-journey-action-name description: Get specific Journey Action By Name hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-trigger-actions-api.getjourneyactiondetailsbyname with: workspaceId: tools.workspaceId templateId: tools.templateId actionName: tools.actionName outputParameters: - type: object mapping: $.