Webex · Capability

Webex Contact Center — Global Variables

Webex Contact Center — Global Variables. 10 operations. Lead operation: Create a new Global Variable. Self-contained Naftiko capability covering one Webex business surface.

Run with Naftiko WebexGlobal Variables

What You Can Do

POST
Createconfig21 — Create a new Global Variable
/v1/organization/{orgid}/cad-variable
POST
Saveallconfig18 — Bulk save Global Variable(s)
/v1/organization/{orgid}/cad-variable/bulk
GET
Bulkexport18 — Bulk export Global Variable(s)
/v1/organization/{orgid}/cad-variable/bulk-export
POST
Purgeinactiveconfig9 — Purge inactive Global Variable(s)
/v1/organization/{orgid}/cad-variable/purge-inactive-entities
GET
Getreportablecountconfig — Get reportable count for Global Variable(s)
/v1/organization/{orgid}/cad-variable/reportable-count
GET
Getconfig22 — Get specific Global Variable by ID
/v1/organization/{orgid}/cad-variable/{id}
PUT
Updateconfig22 — Update specific Global Variable by ID
/v1/organization/{orgid}/cad-variable/{id}
DELETE
Deleteconfig20 — Delete specific Global Variable by ID
/v1/organization/{orgid}/cad-variable/{id}
GET
Getincomingreferences16 — List references for a specific Global Variable
/v1/organization/{orgid}/cad-variable/{id}/incoming-references
GET
Getallconfigwithmetadata31 — List Global Variable(s)
/v1/organization/{orgid}/v2/cad-variable

MCP Tools

create-new-global-variable

Create a new Global Variable

bulk-save-global-variable-s

Bulk save Global Variable(s)

bulk-export-global-variable-s

Bulk export Global Variable(s)

read-only idempotent
purge-inactive-global-variable-s

Purge inactive Global Variable(s)

get-reportable-count-global-variable-s

Get reportable count for Global Variable(s)

read-only idempotent
get-specific-global-variable-id

Get specific Global Variable by ID

read-only idempotent
update-specific-global-variable-id

Update specific Global Variable by ID

idempotent
delete-specific-global-variable-id

Delete specific Global Variable by ID

idempotent
list-references-specific-global-variable

List references for a specific Global Variable

read-only idempotent
list-global-variable-s

List Global Variable(s)

read-only idempotent

Capability Spec

contact-center-global-variables.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Webex Contact Center — Global Variables
  description: 'Webex Contact Center — Global Variables. 10 operations. Lead operation: Create a new Global Variable. Self-contained
    Naftiko capability covering one Webex business surface.'
  tags:
  - Webex
  - Global Variables
  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-global-variables
    baseUri: ''
    description: Webex Contact Center — Global Variables business capability. Self-contained, no shared references.
    resources:
    - name: organization-orgid-cad-variable
      path: /organization/{orgid}/cad-variable
      operations:
      - name: createconfig21
        method: POST
        description: Create a new Global Variable
        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-cad-variable-bulk
      path: /organization/{orgid}/cad-variable/bulk
      operations:
      - name: saveallconfig18
        method: POST
        description: Bulk save Global Variable(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-cad-variable-bulk-export
      path: /organization/{orgid}/cad-variable/bulk-export
      operations:
      - name: bulkexport18
        method: GET
        description: Bulk export Global Variable(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-cad-variable-purge-inactive-entities
      path: /organization/{orgid}/cad-variable/purge-inactive-entities
      operations:
      - name: purgeinactiveconfig9
        method: POST
        description: Purge inactive Global Variable(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-cad-variable-reportable-count
      path: /organization/{orgid}/cad-variable/reportable-count
      operations:
      - name: getreportablecountconfig
        method: GET
        description: Get reportable count for Global Variable(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: organization-orgid-cad-variable-id
      path: /organization/{orgid}/cad-variable/{id}
      operations:
      - name: getconfig22
        method: GET
        description: Get specific Global Variable 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 Global Variable.
          required: true
      - name: updateconfig22
        method: PUT
        description: Update specific Global Variable 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 Global Variable.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteconfig20
        method: DELETE
        description: Delete specific Global Variable 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 Global Variable.
          required: true
    - name: organization-orgid-cad-variable-id-incoming-references
      path: /organization/{orgid}/cad-variable/{id}/incoming-references
      operations:
      - name: getincomingreferences16
        method: GET
        description: List references for a specific Global Variable
        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
    - name: organization-orgid-v2-cad-variable
      path: /organization/{orgid}/v2/cad-variable
      operations:
      - name: getallconfigwithmetadata31
        method: GET
        description: List Global Variable(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
    authentication:
      type: bearer
      token: '{{env.WEBEX_API_KEY}}'
  exposes:
  - type: rest
    namespace: contact-center-global-variables-rest
    port: 8080
    description: REST adapter for Webex Contact Center — Global Variables. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organization/{orgid}/cad-variable
      name: organization-orgid-cad-variable
      description: REST surface for organization-orgid-cad-variable.
      operations:
      - method: POST
        name: createconfig21
        description: Create a new Global Variable
        call: contact-center-global-variables.createconfig21
        with:
          orgid: rest.orgid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/cad-variable/bulk
      name: organization-orgid-cad-variable-bulk
      description: REST surface for organization-orgid-cad-variable-bulk.
      operations:
      - method: POST
        name: saveallconfig18
        description: Bulk save Global Variable(s)
        call: contact-center-global-variables.saveallconfig18
        with:
          orgid: rest.orgid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/cad-variable/bulk-export
      name: organization-orgid-cad-variable-bulk-export
      description: REST surface for organization-orgid-cad-variable-bulk-export.
      operations:
      - method: GET
        name: bulkexport18
        description: Bulk export Global Variable(s)
        call: contact-center-global-variables.bulkexport18
        with:
          orgid: rest.orgid
          page: rest.page
          pageSize: rest.pageSize
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/cad-variable/purge-inactive-entities
      name: organization-orgid-cad-variable-purge-inactive-entities
      description: REST surface for organization-orgid-cad-variable-purge-inactive-entities.
      operations:
      - method: POST
        name: purgeinactiveconfig9
        description: Purge inactive Global Variable(s)
        call: contact-center-global-variables.purgeinactiveconfig9
        with:
          orgid: rest.orgid
          nextStartId: rest.nextStartId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/cad-variable/reportable-count
      name: organization-orgid-cad-variable-reportable-count
      description: REST surface for organization-orgid-cad-variable-reportable-count.
      operations:
      - method: GET
        name: getreportablecountconfig
        description: Get reportable count for Global Variable(s)
        call: contact-center-global-variables.getreportablecountconfig
        with:
          orgid: rest.orgid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/cad-variable/{id}
      name: organization-orgid-cad-variable-id
      description: REST surface for organization-orgid-cad-variable-id.
      operations:
      - method: GET
        name: getconfig22
        description: Get specific Global Variable by ID
        call: contact-center-global-variables.getconfig22
        with:
          orgid: rest.orgid
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateconfig22
        description: Update specific Global Variable by ID
        call: contact-center-global-variables.updateconfig22
        with:
          orgid: rest.orgid
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteconfig20
        description: Delete specific Global Variable by ID
        call: contact-center-global-variables.deleteconfig20
        with:
          orgid: rest.orgid
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/cad-variable/{id}/incoming-references
      name: organization-orgid-cad-variable-id-incoming-references
      description: REST surface for organization-orgid-cad-variable-id-incoming-references.
      operations:
      - method: GET
        name: getincomingreferences16
        description: List references for a specific Global Variable
        call: contact-center-global-variables.getincomingreferences16
        with:
          orgid: rest.orgid
          id: rest.id
          type: rest.type
          page: rest.page
          pageSize: rest.pageSize
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/v2/cad-variable
      name: organization-orgid-v2-cad-variable
      description: REST surface for organization-orgid-v2-cad-variable.
      operations:
      - method: GET
        name: getallconfigwithmetadata31
        description: List Global Variable(s)
        call: contact-center-global-variables.getallconfigwithmetadata31
        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-global-variables-mcp
    port: 9090
    transport: http
    description: MCP adapter for Webex Contact Center — Global Variables. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-new-global-variable
      description: Create a new Global Variable
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: contact-center-global-variables.createconfig21
      with:
        orgid: tools.orgid
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bulk-save-global-variable-s
      description: Bulk save Global Variable(s)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: contact-center-global-variables.saveallconfig18
      with:
        orgid: tools.orgid
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bulk-export-global-variable-s
      description: Bulk export Global Variable(s)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-global-variables.bulkexport18
      with:
        orgid: tools.orgid
        page: tools.page
        pageSize: tools.pageSize
      outputParameters:
      - type: object
        mapping: $.
    - name: purge-inactive-global-variable-s
      description: Purge inactive Global Variable(s)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: contact-center-global-variables.purgeinactiveconfig9
      with:
        orgid: tools.orgid
        nextStartId: tools.nextStartId
      outputParameters:
      - type: object
        mapping: $.
    - name: get-reportable-count-global-variable-s
      description: Get reportable count for Global Variable(s)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-global-variables.getreportablecountconfig
      with:
        orgid: tools.orgid
      outputParameters:
      - type: object
        mapping: $.
    - name: get-specific-global-variable-id
      description: Get specific Global Variable by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-global-variables.getconfig22
      with:
        orgid: tools.orgid
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-specific-global-variable-id
      description: Update specific Global Variable by ID
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: contact-center-global-variables.updateconfig22
      with:
        orgid: tools.orgid
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-specific-global-variable-id
      description: Delete specific Global Variable by ID
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: contact-center-global-variables.deleteconfig20
      with:
        orgid: tools.orgid
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: list-references-specific-global-variable
      description: List references for a specific Global Variable
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-global-variables.getincomingreferences16
      with:
        orgid: tools.orgid
        id: tools.id
        type: tools.type
        page: tools.page
        pageSize: tools.pageSize
      outputParameters:
      - type: object
        mapping: $.
    - name: list-global-variable-s
      description: List Global Variable(s)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-global-variables.getallconfigwithmetadata31
      with:
        orgid: tools.orgid
        filter: tools.filter
        attributes: tools.attributes
        search: tools.search
        page: tools.page
        pageSize: tools.pageSize
      outputParameters:
      - type: object
        mapping: $.