naftiko: 1.0.0-alpha2 info: label: Webex Contact Center — DNC Management description: 'Webex Contact Center — DNC Management. 3 operations. Lead operation: Add Phone Number to DNC List. Self-contained Naftiko capability covering one Webex business surface.' tags: - Webex - DNC Management 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-dnc-management baseUri: '' description: Webex Contact Center — DNC Management business capability. Self-contained, no shared references. resources: - name: v3-campaign-management-dncList-dncListName-phoneNumber path: /v3/campaign-management/dncList/{dncListName}/phoneNumber operations: - name: addphonenumbertodnclist method: POST description: Add Phone Number to DNC List outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dncListName in: path type: string description: This is the Name of the DNC list to which you want to add a phone number. List names are case-sensitive and must be URL-encoded if they contain special characte required: true - name: body in: body type: object description: Request body (JSON). required: true - name: v3-campaign-management-dncList-dncListName-phoneNumber-phoneNumber path: /v3/campaign-management/dncList/{dncListName}/phoneNumber/{phoneNumber} operations: - name: getphonenumberfromdnclist method: GET description: Get Phone Number from DNC List outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dncListName in: path type: string description: The name of the DNC list to search in. List names are case-sensitive and must be URL-encoded if they contain special characters. required: true - name: phoneNumber in: path type: string description: The phone number to retrieve from the DNC list. Must be URL-encoded and in E.164 format (e.g., %2B1234567890 for +1234567890). required: true - name: removephonenumberfromdnclist method: DELETE description: Remove Phone Number from DNC List outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dncListName in: path type: string description: The name of the DNC list to remove the phone number from. List names are case-sensitive and must be URL-encoded if they contain special characters. required: true - name: phoneNumber in: path type: string description: The phone number to remove from the DNC list. Must be URL-encoded and in E.164 format (e.g., %2B1234567890 for +1234567890). required: true authentication: type: bearer token: '{{env.WEBEX_API_KEY}}' exposes: - type: rest namespace: contact-center-dnc-management-rest port: 8080 description: REST adapter for Webex Contact Center — DNC Management. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/campaign-management/dnclist/{dnclistname}/phonenumber name: v3-campaign-management-dnclist-dnclistname-phonenumber description: REST surface for v3-campaign-management-dncList-dncListName-phoneNumber. operations: - method: POST name: addphonenumbertodnclist description: Add Phone Number to DNC List call: contact-center-dnc-management.addphonenumbertodnclist with: dncListName: rest.dncListName body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v3/campaign-management/dnclist/{dnclistname}/phonenumber/{phonenumber} name: v3-campaign-management-dnclist-dnclistname-phonenumber-phonenumber description: REST surface for v3-campaign-management-dncList-dncListName-phoneNumber-phoneNumber. operations: - method: GET name: getphonenumberfromdnclist description: Get Phone Number from DNC List call: contact-center-dnc-management.getphonenumberfromdnclist with: dncListName: rest.dncListName phoneNumber: rest.phoneNumber outputParameters: - type: object mapping: $. - method: DELETE name: removephonenumberfromdnclist description: Remove Phone Number from DNC List call: contact-center-dnc-management.removephonenumberfromdnclist with: dncListName: rest.dncListName phoneNumber: rest.phoneNumber outputParameters: - type: object mapping: $. - type: mcp namespace: contact-center-dnc-management-mcp port: 9090 transport: http description: MCP adapter for Webex Contact Center — DNC Management. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: add-phone-number-dnc-list description: Add Phone Number to DNC List hints: readOnly: false destructive: false idempotent: false call: contact-center-dnc-management.addphonenumbertodnclist with: dncListName: tools.dncListName body: tools.body outputParameters: - type: object mapping: $. - name: get-phone-number-dnc-list description: Get Phone Number from DNC List hints: readOnly: true destructive: false idempotent: true call: contact-center-dnc-management.getphonenumberfromdnclist with: dncListName: tools.dncListName phoneNumber: tools.phoneNumber outputParameters: - type: object mapping: $. - name: remove-phone-number-dnc-list description: Remove Phone Number from DNC List hints: readOnly: false destructive: true idempotent: true call: contact-center-dnc-management.removephonenumberfromdnclist with: dncListName: tools.dncListName phoneNumber: tools.phoneNumber outputParameters: - type: object mapping: $.