naftiko: 1.0.0-alpha2 info: label: Webex Contact Center — Contact Number description: 'Webex Contact Center — Contact Number. 8 operations. Lead operation: Create a new Contact Number. Self-contained Naftiko capability covering one Webex business surface.' tags: - Webex - Contact Number 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-contact-number baseUri: '' description: Webex Contact Center — Contact Number business capability. Self-contained, no shared references. resources: - name: organization-orgid-contact-number path: /organization/{orgid}/contact-number operations: - name: createconfig20 method: POST description: Create a new Contact Number outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: organization-orgid-contact-number-all-numbers path: /organization/{orgid}/contact-number/all-numbers operations: - name: getallcontactnumbers method: GET description: List all contact numbers(property - number) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: organization-orgid-contact-number-bulk path: /organization/{orgid}/contact-number/bulk operations: - name: saveallconfig17 method: POST description: Bulk save Contact Number(s) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: organization-orgid-contact-number-bulk-export path: /organization/{orgid}/contact-number/bulk-export operations: - name: bulkexport17 method: GET description: Bulk export Contact Number(s) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: page in: query type: integer description: Defines the number of displayed page. The page number starts from 0. - name: pageSize in: query type: integer description: Defines the number of items to be displayed on a page. If the number specified is more than allowed max page size, the API will automatically adjust the page si - name: organization-orgid-contact-number-id path: /organization/{orgid}/contact-number/{id} operations: - name: getconfig21 method: GET description: Get specific Contact Number by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: id in: path type: string description: Resource ID of the Contact Number. required: true - name: updateconfig21 method: PUT description: Update specific Contact Number by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: id in: path type: string description: Resource ID of the Contact Number. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteconfig19 method: DELETE description: Delete specific Contact Number by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: id in: path type: string description: Resource ID of the Contact Number. required: true - name: organization-orgid-v2-contact-number path: /organization/{orgid}/v2/contact-number operations: - name: getallconfigwithmetadata19 method: GET description: List Contact Number(s) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgid in: path type: string description: Organization ID to be used for this operation. The specified security token must have permission to interact with the organization. required: true - name: filter in: query type: string description: 'Specify a filter based on which the results will be fetched. All the fields are supported except: organizationId, createdTime, lastUpdatedTime ' - name: attributes in: query type: string description: Specify the attributes to be returned.Default all attributes are returned along with specified columns. All Attributes are supported - name: search in: query type: string description: Filter data based on the search keyword. - name: page in: query type: integer description: Defines the number of displayed page. The page number starts from 0. - name: pageSize in: query type: integer description: Defines the number of items to be displayed on a page. If the number specified is more than allowed max page size, the API will automatically adjust the page si authentication: type: bearer token: '{{env.WEBEX_API_KEY}}' exposes: - type: rest namespace: contact-center-contact-number-rest port: 8080 description: REST adapter for Webex Contact Center — Contact Number. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organization/{orgid}/contact-number name: organization-orgid-contact-number description: REST surface for organization-orgid-contact-number. operations: - method: POST name: createconfig20 description: Create a new Contact Number call: contact-center-contact-number.createconfig20 with: orgid: rest.orgid body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organization/{orgid}/contact-number/all-numbers name: organization-orgid-contact-number-all-numbers description: REST surface for organization-orgid-contact-number-all-numbers. operations: - method: GET name: getallcontactnumbers description: List all contact numbers(property - number) call: contact-center-contact-number.getallcontactnumbers with: orgid: rest.orgid outputParameters: - type: object mapping: $. - path: /v1/organization/{orgid}/contact-number/bulk name: organization-orgid-contact-number-bulk description: REST surface for organization-orgid-contact-number-bulk. operations: - method: POST name: saveallconfig17 description: Bulk save Contact Number(s) call: contact-center-contact-number.saveallconfig17 with: orgid: rest.orgid body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organization/{orgid}/contact-number/bulk-export name: organization-orgid-contact-number-bulk-export description: REST surface for organization-orgid-contact-number-bulk-export. operations: - method: GET name: bulkexport17 description: Bulk export Contact Number(s) call: contact-center-contact-number.bulkexport17 with: orgid: rest.orgid page: rest.page pageSize: rest.pageSize outputParameters: - type: object mapping: $. - path: /v1/organization/{orgid}/contact-number/{id} name: organization-orgid-contact-number-id description: REST surface for organization-orgid-contact-number-id. operations: - method: GET name: getconfig21 description: Get specific Contact Number by ID call: contact-center-contact-number.getconfig21 with: orgid: rest.orgid id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: updateconfig21 description: Update specific Contact Number by ID call: contact-center-contact-number.updateconfig21 with: orgid: rest.orgid id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteconfig19 description: Delete specific Contact Number by ID call: contact-center-contact-number.deleteconfig19 with: orgid: rest.orgid id: rest.id outputParameters: - type: object mapping: $. - path: /v1/organization/{orgid}/v2/contact-number name: organization-orgid-v2-contact-number description: REST surface for organization-orgid-v2-contact-number. operations: - method: GET name: getallconfigwithmetadata19 description: List Contact Number(s) call: contact-center-contact-number.getallconfigwithmetadata19 with: orgid: rest.orgid filter: rest.filter attributes: rest.attributes search: rest.search page: rest.page pageSize: rest.pageSize outputParameters: - type: object mapping: $. - type: mcp namespace: contact-center-contact-number-mcp port: 9090 transport: http description: MCP adapter for Webex Contact Center — Contact Number. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-new-contact-number description: Create a new Contact Number hints: readOnly: false destructive: false idempotent: false call: contact-center-contact-number.createconfig20 with: orgid: tools.orgid body: tools.body outputParameters: - type: object mapping: $. - name: list-all-contact-numbers-property-number description: List all contact numbers(property - number) hints: readOnly: true destructive: false idempotent: true call: contact-center-contact-number.getallcontactnumbers with: orgid: tools.orgid outputParameters: - type: object mapping: $. - name: bulk-save-contact-number-s description: Bulk save Contact Number(s) hints: readOnly: false destructive: false idempotent: false call: contact-center-contact-number.saveallconfig17 with: orgid: tools.orgid body: tools.body outputParameters: - type: object mapping: $. - name: bulk-export-contact-number-s description: Bulk export Contact Number(s) hints: readOnly: true destructive: false idempotent: true call: contact-center-contact-number.bulkexport17 with: orgid: tools.orgid page: tools.page pageSize: tools.pageSize outputParameters: - type: object mapping: $. - name: get-specific-contact-number-id description: Get specific Contact Number by ID hints: readOnly: true destructive: false idempotent: true call: contact-center-contact-number.getconfig21 with: orgid: tools.orgid id: tools.id outputParameters: - type: object mapping: $. - name: update-specific-contact-number-id description: Update specific Contact Number by ID hints: readOnly: false destructive: false idempotent: true call: contact-center-contact-number.updateconfig21 with: orgid: tools.orgid id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: delete-specific-contact-number-id description: Delete specific Contact Number by ID hints: readOnly: false destructive: true idempotent: true call: contact-center-contact-number.deleteconfig19 with: orgid: tools.orgid id: tools.id outputParameters: - type: object mapping: $. - name: list-contact-number-s description: List Contact Number(s) hints: readOnly: true destructive: false idempotent: true call: contact-center-contact-number.getallconfigwithmetadata19 with: orgid: tools.orgid filter: tools.filter attributes: tools.attributes search: tools.search page: tools.page pageSize: tools.pageSize outputParameters: - type: object mapping: $.