naftiko: 1.0.0-alpha2 info: label: Webex Contact Center — Journey - Profile Creation & Insights API description: 'Webex Contact Center — Journey - Profile Creation & Insights API. 14 operations. Lead operation: Get All Template Details. Self-contained Naftiko capability covering one Webex business surface.' tags: - Webex - Journey - Profile Creation & Insights 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-profile-creation-insights-api baseUri: '' description: Webex Contact Center — Journey - Profile Creation & Insights API business capability. Self-contained, no shared references. resources: - name: admin-v1-api-profile-view-template-workspace-id-workspaceId path: /admin/v1/api/profile-view-template/workspace-id/{workspaceId} operations: - name: getalltemplates method: GET description: Get All Template Details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: filter in: query type: string description: 'Optional filter which can be applied to the elements to be fetched. ' - name: sort in: query type: string description: Sort direction - name: sortBy in: query type: string description: Sort By Field - 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: createtemplate method: POST description: Create Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: body in: body type: object description: Request body (JSON). required: true - name: admin-v1-api-profile-view-template-workspace-id-workspaceId-template-id-template path: /admin/v1/api/profile-view-template/workspace-id/{workspaceId}/template-id/{templateId} operations: - name: gettemplatebyid method: GET description: Get A specific Template searched by template id 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: updateprofileviewtemplate method: PUT description: Update existing ProfileViewTemplate 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: deletetemplatebyid method: DELETE description: Delete Template by template Id 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: admin-v1-api-profile-view-template-workspace-id-workspaceId-template-name-templa path: /admin/v1/api/profile-view-template/workspace-id/{workspaceId}/template-name/{templateName} operations: - name: gettemplatebyname method: GET description: Get A specific Template searched by template name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: templateName in: path type: string description: Template Name required: true - name: v1-api-events-stream-workspace-id-workspaceId-identity-identity path: /v1/api/events/stream/workspace-id/{workspaceId}/identity/{identity} operations: - name: streameventsbyidentity method: GET description: Stream Events By Identity outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: identity in: path type: string description: 'Person Identity. ' required: true - name: filter in: query type: string description: Optional filter which can be applied to the elements to be fetched. - name: data in: query type: string description: Optional filter on data filed which can be applied to the elements to be fetched. - name: v1-api-events-workspace-id-workspaceId path: /v1/api/events/workspace-id/{workspaceId} operations: - name: historicevents method: GET description: Historic Journey Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: identity in: query type: string description: 'Identity to search events for. ' - name: sortBy in: query type: string description: sort By Field - name: sort in: query type: string description: sort direction - name: filter in: query type: string description: Optional filter which can be applied to the elements to be fetched. - name: data in: query type: string description: Optional filter on data filed which can be applied to the elements to be fetched. - 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: v1-api-progressive-profile-view-stream-workspace-id-workspaceId-identity-identit path: /v1/api/progressive-profile-view/stream/workspace-id/{workspaceId}/identity/{identity}/template-id/{templateId} operations: - name: streamprogressiveprofileviews method: GET description: Stream Progressive profile Views By Template Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: identity in: path type: string description: 'Identity to search Progressive Profile View for. ' required: true - name: templateId in: path type: string description: Template ID required: true - name: v1-api-progressive-profile-view-stream-workspace-id-workspaceId-identity-identit path: /v1/api/progressive-profile-view/stream/workspace-id/{workspaceId}/identity/{identity}/template-name/{templateName} operations: - name: streamprogressiveprofileviewsbytemplatename method: GET description: Stream Progressive profile Views By Template Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: identity in: path type: string description: 'Identity to search Progressive Profile View for. ' required: true - name: templateName in: path type: string description: Template Name required: true - name: v1-api-progressive-profile-view-workspace-id-workspaceId-identity-identity-templ path: /v1/api/progressive-profile-view/workspace-id/{workspaceId}/identity/{identity}/template-id/{templateId} operations: - name: getprogressiveprofileviewbyidentityandtemplateid method: GET description: Historic Progressive Profile View By Template Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: identity in: path type: string description: identity required: true - name: templateId in: path type: string description: Template ID required: true - name: v1-api-progressive-profile-view-workspace-id-workspaceId-identity-identity-templ path: /v1/api/progressive-profile-view/workspace-id/{workspaceId}/identity/{identity}/template-name/{templateName} operations: - name: getprogressiveprofileviewbyidentityandtemplatename method: GET description: Historic Progressive Profile View By Template Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: identity in: path type: string description: Identity required: true - name: templateName in: path type: string description: Template Name required: true - name: v1-api-progressive-profile-view-workspace-id-workspaceId-person-id-personId-temp path: /v1/api/progressive-profile-view/workspace-id/{workspaceId}/person-id/{personId}/template-id/{templateId} operations: - name: getprogressiveprofileview method: GET description: Historic Progressive Profile View outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: personId in: path type: string description: Person ID required: true - name: templateId in: path type: string description: Template ID required: true - name: v1-api-progressive-profile-view-workspace-id-workspaceId-person-id-personId-temp path: /v1/api/progressive-profile-view/workspace-id/{workspaceId}/person-id/{personId}/template-name/{templateName} operations: - name: getprogressiveprofileviewbytemplatename method: GET description: Historic Progressive Profile View by Template Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspaceId in: path type: string description: Workspace ID required: true - name: personId in: path type: string description: Person ID required: true - name: templateName in: path type: string description: Template Name required: true authentication: type: bearer token: '{{env.WEBEX_API_KEY}}' exposes: - type: rest namespace: contact-center-journey-profile-creation-insights-api-rest port: 8080 description: REST adapter for Webex Contact Center — Journey - Profile Creation & Insights API. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/admin/v1/api/profile-view-template/workspace-id/{workspaceid} name: admin-v1-api-profile-view-template-workspace-id-workspaceid description: REST surface for admin-v1-api-profile-view-template-workspace-id-workspaceId. operations: - method: GET name: getalltemplates description: Get All Template Details call: contact-center-journey-profile-creation-insights-api.getalltemplates with: workspaceId: rest.workspaceId filter: rest.filter sort: rest.sort sortBy: rest.sortBy page: rest.page pageSize: rest.pageSize outputParameters: - type: object mapping: $. - method: POST name: createtemplate description: Create Template call: contact-center-journey-profile-creation-insights-api.createtemplate with: workspaceId: rest.workspaceId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/admin/v1/api/profile-view-template/workspace-id/{workspaceid}/template-id/{templateid} name: admin-v1-api-profile-view-template-workspace-id-workspaceid-template-id-template description: REST surface for admin-v1-api-profile-view-template-workspace-id-workspaceId-template-id-template. operations: - method: GET name: gettemplatebyid description: Get A specific Template searched by template id call: contact-center-journey-profile-creation-insights-api.gettemplatebyid with: workspaceId: rest.workspaceId templateId: rest.templateId outputParameters: - type: object mapping: $. - method: PUT name: updateprofileviewtemplate description: Update existing ProfileViewTemplate call: contact-center-journey-profile-creation-insights-api.updateprofileviewtemplate with: workspaceId: rest.workspaceId templateId: rest.templateId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletetemplatebyid description: Delete Template by template Id call: contact-center-journey-profile-creation-insights-api.deletetemplatebyid with: workspaceId: rest.workspaceId templateId: rest.templateId outputParameters: - type: object mapping: $. - path: /v1/admin/v1/api/profile-view-template/workspace-id/{workspaceid}/template-name/{templatename} name: admin-v1-api-profile-view-template-workspace-id-workspaceid-template-name-templa description: REST surface for admin-v1-api-profile-view-template-workspace-id-workspaceId-template-name-templa. operations: - method: GET name: gettemplatebyname description: Get A specific Template searched by template name call: contact-center-journey-profile-creation-insights-api.gettemplatebyname with: workspaceId: rest.workspaceId templateName: rest.templateName outputParameters: - type: object mapping: $. - path: /v1/v1/api/events/stream/workspace-id/{workspaceid}/identity/{identity} name: v1-api-events-stream-workspace-id-workspaceid-identity-identity description: REST surface for v1-api-events-stream-workspace-id-workspaceId-identity-identity. operations: - method: GET name: streameventsbyidentity description: Stream Events By Identity call: contact-center-journey-profile-creation-insights-api.streameventsbyidentity with: workspaceId: rest.workspaceId identity: rest.identity filter: rest.filter data: rest.data outputParameters: - type: object mapping: $. - path: /v1/v1/api/events/workspace-id/{workspaceid} name: v1-api-events-workspace-id-workspaceid description: REST surface for v1-api-events-workspace-id-workspaceId. operations: - method: GET name: historicevents description: Historic Journey Events call: contact-center-journey-profile-creation-insights-api.historicevents with: workspaceId: rest.workspaceId identity: rest.identity sortBy: rest.sortBy sort: rest.sort filter: rest.filter data: rest.data page: rest.page pageSize: rest.pageSize outputParameters: - type: object mapping: $. - path: /v1/v1/api/progressive-profile-view/stream/workspace-id/{workspaceid}/identity/{identity}/template-id/{templateid} name: v1-api-progressive-profile-view-stream-workspace-id-workspaceid-identity-identit description: REST surface for v1-api-progressive-profile-view-stream-workspace-id-workspaceId-identity-identit. operations: - method: GET name: streamprogressiveprofileviews description: Stream Progressive profile Views By Template Id call: contact-center-journey-profile-creation-insights-api.streamprogressiveprofileviews with: workspaceId: rest.workspaceId identity: rest.identity templateId: rest.templateId outputParameters: - type: object mapping: $. - path: /v1/v1/api/progressive-profile-view/stream/workspace-id/{workspaceid}/identity/{identity}/template-name/{templatename} name: v1-api-progressive-profile-view-stream-workspace-id-workspaceid-identity-identit description: REST surface for v1-api-progressive-profile-view-stream-workspace-id-workspaceId-identity-identit. operations: - method: GET name: streamprogressiveprofileviewsbytemplatename description: Stream Progressive profile Views By Template Name call: contact-center-journey-profile-creation-insights-api.streamprogressiveprofileviewsbytemplatename with: workspaceId: rest.workspaceId identity: rest.identity templateName: rest.templateName outputParameters: - type: object mapping: $. - path: /v1/v1/api/progressive-profile-view/workspace-id/{workspaceid}/identity/{identity}/template-id/{templateid} name: v1-api-progressive-profile-view-workspace-id-workspaceid-identity-identity-templ description: REST surface for v1-api-progressive-profile-view-workspace-id-workspaceId-identity-identity-templ. operations: - method: GET name: getprogressiveprofileviewbyidentityandtemplateid description: Historic Progressive Profile View By Template Id call: contact-center-journey-profile-creation-insights-api.getprogressiveprofileviewbyidentityandtemplateid with: workspaceId: rest.workspaceId identity: rest.identity templateId: rest.templateId outputParameters: - type: object mapping: $. - path: /v1/v1/api/progressive-profile-view/workspace-id/{workspaceid}/identity/{identity}/template-name/{templatename} name: v1-api-progressive-profile-view-workspace-id-workspaceid-identity-identity-templ description: REST surface for v1-api-progressive-profile-view-workspace-id-workspaceId-identity-identity-templ. operations: - method: GET name: getprogressiveprofileviewbyidentityandtemplatename description: Historic Progressive Profile View By Template Name call: contact-center-journey-profile-creation-insights-api.getprogressiveprofileviewbyidentityandtemplatename with: workspaceId: rest.workspaceId identity: rest.identity templateName: rest.templateName outputParameters: - type: object mapping: $. - path: /v1/v1/api/progressive-profile-view/workspace-id/{workspaceid}/person-id/{personid}/template-id/{templateid} name: v1-api-progressive-profile-view-workspace-id-workspaceid-person-id-personid-temp description: REST surface for v1-api-progressive-profile-view-workspace-id-workspaceId-person-id-personId-temp. operations: - method: GET name: getprogressiveprofileview description: Historic Progressive Profile View call: contact-center-journey-profile-creation-insights-api.getprogressiveprofileview with: workspaceId: rest.workspaceId personId: rest.personId templateId: rest.templateId outputParameters: - type: object mapping: $. - path: /v1/v1/api/progressive-profile-view/workspace-id/{workspaceid}/person-id/{personid}/template-name/{templatename} name: v1-api-progressive-profile-view-workspace-id-workspaceid-person-id-personid-temp description: REST surface for v1-api-progressive-profile-view-workspace-id-workspaceId-person-id-personId-temp. operations: - method: GET name: getprogressiveprofileviewbytemplatename description: Historic Progressive Profile View by Template Name call: contact-center-journey-profile-creation-insights-api.getprogressiveprofileviewbytemplatename with: workspaceId: rest.workspaceId personId: rest.personId templateName: rest.templateName outputParameters: - type: object mapping: $. - type: mcp namespace: contact-center-journey-profile-creation-insights-api-mcp port: 9090 transport: http description: MCP adapter for Webex Contact Center — Journey - Profile Creation & Insights API. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-all-template-details description: Get All Template Details hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-profile-creation-insights-api.getalltemplates with: workspaceId: tools.workspaceId filter: tools.filter sort: tools.sort sortBy: tools.sortBy page: tools.page pageSize: tools.pageSize outputParameters: - type: object mapping: $. - name: create-template description: Create Template hints: readOnly: false destructive: false idempotent: false call: contact-center-journey-profile-creation-insights-api.createtemplate with: workspaceId: tools.workspaceId body: tools.body outputParameters: - type: object mapping: $. - name: get-specific-template-searched-template description: Get A specific Template searched by template id hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-profile-creation-insights-api.gettemplatebyid with: workspaceId: tools.workspaceId templateId: tools.templateId outputParameters: - type: object mapping: $. - name: update-existing-profileviewtemplate description: Update existing ProfileViewTemplate hints: readOnly: false destructive: false idempotent: true call: contact-center-journey-profile-creation-insights-api.updateprofileviewtemplate with: workspaceId: tools.workspaceId templateId: tools.templateId body: tools.body outputParameters: - type: object mapping: $. - name: delete-template-template-id description: Delete Template by template Id hints: readOnly: false destructive: true idempotent: true call: contact-center-journey-profile-creation-insights-api.deletetemplatebyid with: workspaceId: tools.workspaceId templateId: tools.templateId outputParameters: - type: object mapping: $. - name: get-specific-template-searched-template-2 description: Get A specific Template searched by template name hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-profile-creation-insights-api.gettemplatebyname with: workspaceId: tools.workspaceId templateName: tools.templateName outputParameters: - type: object mapping: $. - name: stream-events-identity description: Stream Events By Identity hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-profile-creation-insights-api.streameventsbyidentity with: workspaceId: tools.workspaceId identity: tools.identity filter: tools.filter data: tools.data outputParameters: - type: object mapping: $. - name: historic-journey-events description: Historic Journey Events hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-profile-creation-insights-api.historicevents with: workspaceId: tools.workspaceId identity: tools.identity sortBy: tools.sortBy sort: tools.sort filter: tools.filter data: tools.data page: tools.page pageSize: tools.pageSize outputParameters: - type: object mapping: $. - name: stream-progressive-profile-views-template description: Stream Progressive profile Views By Template Id hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-profile-creation-insights-api.streamprogressiveprofileviews with: workspaceId: tools.workspaceId identity: tools.identity templateId: tools.templateId outputParameters: - type: object mapping: $. - name: stream-progressive-profile-views-template-2 description: Stream Progressive profile Views By Template Name hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-profile-creation-insights-api.streamprogressiveprofileviewsbytemplatename with: workspaceId: tools.workspaceId identity: tools.identity templateName: tools.templateName outputParameters: - type: object mapping: $. - name: historic-progressive-profile-view-template description: Historic Progressive Profile View By Template Id hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-profile-creation-insights-api.getprogressiveprofileviewbyidentityandtemplateid with: workspaceId: tools.workspaceId identity: tools.identity templateId: tools.templateId outputParameters: - type: object mapping: $. - name: historic-progressive-profile-view-template-2 description: Historic Progressive Profile View By Template Name hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-profile-creation-insights-api.getprogressiveprofileviewbyidentityandtemplatename with: workspaceId: tools.workspaceId identity: tools.identity templateName: tools.templateName outputParameters: - type: object mapping: $. - name: historic-progressive-profile-view description: Historic Progressive Profile View hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-profile-creation-insights-api.getprogressiveprofileview with: workspaceId: tools.workspaceId personId: tools.personId templateId: tools.templateId outputParameters: - type: object mapping: $. - name: historic-progressive-profile-view-template-3 description: Historic Progressive Profile View by Template Name hints: readOnly: true destructive: false idempotent: true call: contact-center-journey-profile-creation-insights-api.getprogressiveprofileviewbytemplatename with: workspaceId: tools.workspaceId personId: tools.personId templateName: tools.templateName outputParameters: - type: object mapping: $.