Webex · Capability

Webex Contact Center — Work Types

Webex Contact Center — Work Types. 9 operations. Lead operation: List Work Type(s). Self-contained Naftiko capability covering one Webex business surface.

Run with Naftiko WebexWork Types

What You Can Do

GET
Getallconfigwithmetadata3 — List Work Type(s)
/v1/organization/{orgid}/v2/work-type
POST
Createconfig — Create a new Work Type
/v1/organization/{orgid}/work-type
POST
Saveallconfig — Bulk save Work Type(s)
/v1/organization/{orgid}/work-type/bulk
GET
Bulkexport — Bulk export Work Type(s)
/v1/organization/{orgid}/work-type/bulk-export
POST
Purgeinactiveconfig — Purge inactive Work Type(s)
/v1/organization/{orgid}/work-type/purge-inactive-entities
GET
Getconfig — Get specific Work Type by ID
/v1/organization/{orgid}/work-type/{id}
PUT
Updateconfig — Update specific Work Type by ID
/v1/organization/{orgid}/work-type/{id}
DELETE
Deleteconfig — Delete specific Work Type by ID
/v1/organization/{orgid}/work-type/{id}
GET
Getincomingreferences — List references for a specific Work Type
/v1/organization/{orgid}/work-type/{id}/incoming-references

MCP Tools

list-work-type-s

List Work Type(s)

read-only idempotent
create-new-work-type

Create a new Work Type

bulk-save-work-type-s

Bulk save Work Type(s)

bulk-export-work-type-s

Bulk export Work Type(s)

read-only idempotent
purge-inactive-work-type-s

Purge inactive Work Type(s)

get-specific-work-type-id

Get specific Work Type by ID

read-only idempotent
update-specific-work-type-id

Update specific Work Type by ID

idempotent
delete-specific-work-type-id

Delete specific Work Type by ID

idempotent
list-references-specific-work-type

List references for a specific Work Type

read-only idempotent

Capability Spec

contact-center-work-types.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Webex Contact Center — Work Types
  description: 'Webex Contact Center — Work Types. 9 operations. Lead operation: List Work Type(s). Self-contained Naftiko
    capability covering one Webex business surface.'
  tags:
  - Webex
  - Work Types
  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-work-types
    baseUri: ''
    description: Webex Contact Center — Work Types business capability. Self-contained, no shared references.
    resources:
    - name: organization-orgid-v2-work-type
      path: /organization/{orgid}/v2/work-type
      operations:
      - name: getallconfigwithmetadata3
        method: GET
        description: List Work Type(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.Supported search columns(name)
        - 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-work-type
      path: /organization/{orgid}/work-type
      operations:
      - name: createconfig
        method: POST
        description: Create a new Work Type
        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-work-type-bulk
      path: /organization/{orgid}/work-type/bulk
      operations:
      - name: saveallconfig
        method: POST
        description: Bulk save Work Type(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-work-type-bulk-export
      path: /organization/{orgid}/work-type/bulk-export
      operations:
      - name: bulkexport
        method: GET
        description: Bulk export Work Type(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-work-type-purge-inactive-entities
      path: /organization/{orgid}/work-type/purge-inactive-entities
      operations:
      - name: purgeinactiveconfig
        method: POST
        description: Purge inactive Work Type(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: nextStartId
          in: query
          type: string
          description: This is the entity ID from which items for the next purge batch with be selected.
    - name: organization-orgid-work-type-id
      path: /organization/{orgid}/work-type/{id}
      operations:
      - name: getconfig
        method: GET
        description: Get specific Work Type 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: ID of the work_type.
          required: true
      - name: updateconfig
        method: PUT
        description: Update specific Work Type 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: ID of the work_type.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteconfig
        method: DELETE
        description: Delete specific Work Type 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: ID of the work_type.
          required: true
    - name: organization-orgid-work-type-id-incoming-references
      path: /organization/{orgid}/work-type/{id}/incoming-references
      operations:
      - name: getincomingreferences
        method: GET
        description: List references for a specific Work Type
        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: ID of this contact center resource.
          required: true
        - name: type
          in: query
          type: string
          description: Entity type of the other entity that has a reference to this specific entity.
        - 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-work-types-rest
    port: 8080
    description: REST adapter for Webex Contact Center — Work Types. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organization/{orgid}/v2/work-type
      name: organization-orgid-v2-work-type
      description: REST surface for organization-orgid-v2-work-type.
      operations:
      - method: GET
        name: getallconfigwithmetadata3
        description: List Work Type(s)
        call: contact-center-work-types.getallconfigwithmetadata3
        with:
          orgid: rest.orgid
          filter: rest.filter
          attributes: rest.attributes
          search: rest.search
          page: rest.page
          pageSize: rest.pageSize
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/work-type
      name: organization-orgid-work-type
      description: REST surface for organization-orgid-work-type.
      operations:
      - method: POST
        name: createconfig
        description: Create a new Work Type
        call: contact-center-work-types.createconfig
        with:
          orgid: rest.orgid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/work-type/bulk
      name: organization-orgid-work-type-bulk
      description: REST surface for organization-orgid-work-type-bulk.
      operations:
      - method: POST
        name: saveallconfig
        description: Bulk save Work Type(s)
        call: contact-center-work-types.saveallconfig
        with:
          orgid: rest.orgid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/work-type/bulk-export
      name: organization-orgid-work-type-bulk-export
      description: REST surface for organization-orgid-work-type-bulk-export.
      operations:
      - method: GET
        name: bulkexport
        description: Bulk export Work Type(s)
        call: contact-center-work-types.bulkexport
        with:
          orgid: rest.orgid
          page: rest.page
          pageSize: rest.pageSize
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/work-type/purge-inactive-entities
      name: organization-orgid-work-type-purge-inactive-entities
      description: REST surface for organization-orgid-work-type-purge-inactive-entities.
      operations:
      - method: POST
        name: purgeinactiveconfig
        description: Purge inactive Work Type(s)
        call: contact-center-work-types.purgeinactiveconfig
        with:
          orgid: rest.orgid
          nextStartId: rest.nextStartId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/work-type/{id}
      name: organization-orgid-work-type-id
      description: REST surface for organization-orgid-work-type-id.
      operations:
      - method: GET
        name: getconfig
        description: Get specific Work Type by ID
        call: contact-center-work-types.getconfig
        with:
          orgid: rest.orgid
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateconfig
        description: Update specific Work Type by ID
        call: contact-center-work-types.updateconfig
        with:
          orgid: rest.orgid
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteconfig
        description: Delete specific Work Type by ID
        call: contact-center-work-types.deleteconfig
        with:
          orgid: rest.orgid
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/work-type/{id}/incoming-references
      name: organization-orgid-work-type-id-incoming-references
      description: REST surface for organization-orgid-work-type-id-incoming-references.
      operations:
      - method: GET
        name: getincomingreferences
        description: List references for a specific Work Type
        call: contact-center-work-types.getincomingreferences
        with:
          orgid: rest.orgid
          id: rest.id
          type: rest.type
          page: rest.page
          pageSize: rest.pageSize
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: contact-center-work-types-mcp
    port: 9090
    transport: http
    description: MCP adapter for Webex Contact Center — Work Types. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-work-type-s
      description: List Work Type(s)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-work-types.getallconfigwithmetadata3
      with:
        orgid: tools.orgid
        filter: tools.filter
        attributes: tools.attributes
        search: tools.search
        page: tools.page
        pageSize: tools.pageSize
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-work-type
      description: Create a new Work Type
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: contact-center-work-types.createconfig
      with:
        orgid: tools.orgid
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bulk-save-work-type-s
      description: Bulk save Work Type(s)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: contact-center-work-types.saveallconfig
      with:
        orgid: tools.orgid
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bulk-export-work-type-s
      description: Bulk export Work Type(s)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-work-types.bulkexport
      with:
        orgid: tools.orgid
        page: tools.page
        pageSize: tools.pageSize
      outputParameters:
      - type: object
        mapping: $.
    - name: purge-inactive-work-type-s
      description: Purge inactive Work Type(s)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: contact-center-work-types.purgeinactiveconfig
      with:
        orgid: tools.orgid
        nextStartId: tools.nextStartId
      outputParameters:
      - type: object
        mapping: $.
    - name: get-specific-work-type-id
      description: Get specific Work Type by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-work-types.getconfig
      with:
        orgid: tools.orgid
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-specific-work-type-id
      description: Update specific Work Type by ID
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: contact-center-work-types.updateconfig
      with:
        orgid: tools.orgid
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-specific-work-type-id
      description: Delete specific Work Type by ID
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: contact-center-work-types.deleteconfig
      with:
        orgid: tools.orgid
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: list-references-specific-work-type
      description: List references for a specific Work Type
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-work-types.getincomingreferences
      with:
        orgid: tools.orgid
        id: tools.id
        type: tools.type
        page: tools.page
        pageSize: tools.pageSize
      outputParameters:
      - type: object
        mapping: $.