Webex · Capability

Webex Contact Center — Callbacks

Webex Contact Center — Callbacks. 5 operations. Lead operation: Schedule a Callback. Self-contained Naftiko capability covering one Webex business surface.

Run with Naftiko WebexCallbacks

What You Can Do

POST
Schedulecallback — Schedule a Callback
/v1/v1/callbacks/organization/{orgid}/scheduled-callback
GET
Getscheduledcallbacks — Get scheduled callbacks
/v1/v1/callbacks/organization/{orgid}/scheduled-callback
GET
Getscheduledcallbackbyid — Get scheduled callback by Id
/v1/v1/callbacks/organization/{orgid}/scheduled-callback/{id}
PUT
Updatescheduledcallbackbyid — Update scheduled callback by Id
/v1/v1/callbacks/organization/{orgid}/scheduled-callback/{id}
DELETE
Deletescheduledcallbackbyid — Delete scheduled callback by Id
/v1/v1/callbacks/organization/{orgid}/scheduled-callback/{id}

MCP Tools

schedule-callback

Schedule a Callback

get-scheduled-callbacks

Get scheduled callbacks

read-only idempotent
get-scheduled-callback-id

Get scheduled callback by Id

read-only idempotent
update-scheduled-callback-id

Update scheduled callback by Id

idempotent
delete-scheduled-callback-id

Delete scheduled callback by Id

idempotent

Capability Spec

contact-center-callbacks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Webex Contact Center — Callbacks
  description: 'Webex Contact Center — Callbacks. 5 operations. Lead operation: Schedule a Callback. Self-contained Naftiko
    capability covering one Webex business surface.'
  tags:
  - Webex
  - Callbacks
  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-callbacks
    baseUri: ''
    description: Webex Contact Center — Callbacks business capability. Self-contained, no shared references.
    resources:
    - name: v1-callbacks-organization-orgId-scheduled-callback
      path: /v1/callbacks/organization/{orgId}/scheduled-callback
      operations:
      - name: schedulecallback
        method: POST
        description: Schedule a Callback
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: path
          type: string
          description: The organization ID for which the callback is being scheduled. This should be a valid UUID.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getscheduledcallbacks
        method: GET
        description: Get scheduled callbacks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: path
          type: string
          description: The organization ID for which the callback is being scheduled. This should be a valid UUID.
          required: true
        - name: callbackNumber
          in: query
          type: string
          description: The callback customer number to filter the scheduled callbacks. Only an exact match will yield the
            result. Allows an optional country code followed by digits (0
        - name: assigneeAgent
          in: query
          type: string
          description: The unique identifier of the agent assigned to handle the callback. Must be in UUID format. This parameter
            is optional, but at least one of assigneeAgent or cal
        - name: page
          in: query
          type: integer
          description: The page number to retrieve.
        - name: pageSize
          in: query
          type: integer
          description: The number of items per page.
        - name: sortBy
          in: query
          type: string
          description: The field to sort the results by. If `sortBy` is set to `assignedTime`, the `assigneeAgent` parameter
            must also be provided.
        - name: sortOrder
          in: query
          type: string
          description: The order to sort the results in.
    - name: v1-callbacks-organization-orgId-scheduled-callback-id
      path: /v1/callbacks/organization/{orgId}/scheduled-callback/{id}
      operations:
      - name: getscheduledcallbackbyid
        method: GET
        description: Get scheduled callback by Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: path
          type: string
          description: The organization ID for which the callback is being scheduled. This should be a valid UUID.
          required: true
        - name: id
          in: path
          type: string
          description: The id with which the Scheduled Callback has been created.
          required: true
      - name: updatescheduledcallbackbyid
        method: PUT
        description: Update scheduled callback by Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: path
          type: string
          description: The organization ID for which the callback is being scheduled. This should be a valid UUID.
          required: true
        - name: id
          in: path
          type: string
          description: The id with which the Scheduled Callback has been created.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletescheduledcallbackbyid
        method: DELETE
        description: Delete scheduled callback by Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: path
          type: string
          description: The organization ID for which the callback is being scheduled. This should be a valid UUID.
          required: true
        - name: id
          in: path
          type: string
          description: The id with which the Scheduled Callback has been created.
          required: true
    authentication:
      type: bearer
      token: '{{env.WEBEX_API_KEY}}'
  exposes:
  - type: rest
    namespace: contact-center-callbacks-rest
    port: 8080
    description: REST adapter for Webex Contact Center — Callbacks. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/callbacks/organization/{orgid}/scheduled-callback
      name: v1-callbacks-organization-orgid-scheduled-callback
      description: REST surface for v1-callbacks-organization-orgId-scheduled-callback.
      operations:
      - method: POST
        name: schedulecallback
        description: Schedule a Callback
        call: contact-center-callbacks.schedulecallback
        with:
          orgId: rest.orgId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getscheduledcallbacks
        description: Get scheduled callbacks
        call: contact-center-callbacks.getscheduledcallbacks
        with:
          orgId: rest.orgId
          callbackNumber: rest.callbackNumber
          assigneeAgent: rest.assigneeAgent
          page: rest.page
          pageSize: rest.pageSize
          sortBy: rest.sortBy
          sortOrder: rest.sortOrder
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/callbacks/organization/{orgid}/scheduled-callback/{id}
      name: v1-callbacks-organization-orgid-scheduled-callback-id
      description: REST surface for v1-callbacks-organization-orgId-scheduled-callback-id.
      operations:
      - method: GET
        name: getscheduledcallbackbyid
        description: Get scheduled callback by Id
        call: contact-center-callbacks.getscheduledcallbackbyid
        with:
          orgId: rest.orgId
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatescheduledcallbackbyid
        description: Update scheduled callback by Id
        call: contact-center-callbacks.updatescheduledcallbackbyid
        with:
          orgId: rest.orgId
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletescheduledcallbackbyid
        description: Delete scheduled callback by Id
        call: contact-center-callbacks.deletescheduledcallbackbyid
        with:
          orgId: rest.orgId
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: contact-center-callbacks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Webex Contact Center — Callbacks. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: schedule-callback
      description: Schedule a Callback
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: contact-center-callbacks.schedulecallback
      with:
        orgId: tools.orgId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-scheduled-callbacks
      description: Get scheduled callbacks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-callbacks.getscheduledcallbacks
      with:
        orgId: tools.orgId
        callbackNumber: tools.callbackNumber
        assigneeAgent: tools.assigneeAgent
        page: tools.page
        pageSize: tools.pageSize
        sortBy: tools.sortBy
        sortOrder: tools.sortOrder
      outputParameters:
      - type: object
        mapping: $.
    - name: get-scheduled-callback-id
      description: Get scheduled callback by Id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-callbacks.getscheduledcallbackbyid
      with:
        orgId: tools.orgId
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-scheduled-callback-id
      description: Update scheduled callback by Id
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: contact-center-callbacks.updatescheduledcallbackbyid
      with:
        orgId: tools.orgId
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-scheduled-callback-id
      description: Delete scheduled callback by Id
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: contact-center-callbacks.deletescheduledcallbackbyid
      with:
        orgId: tools.orgId
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.