Webex · Capability

Webex Messaging — Team Memberships

Webex Messaging — Team Memberships. 5 operations. Lead operation: List Team Memberships. Self-contained Naftiko capability covering one Webex business surface.

Run with Naftiko WebexTeam Memberships

What You Can Do

GET
Listteammemberships — List Team Memberships
/v1/team/memberships
POST
Createteammembership — Create a Team Membership
/v1/team/memberships
GET
Getteammembershipdetails — Get Team Membership Details
/v1/team/memberships/{membershipid}
PUT
Updateateammembership — Update a Team Membership
/v1/team/memberships/{membershipid}
DELETE
Deleteateammembership — Delete a Team Membership
/v1/team/memberships/{membershipid}

MCP Tools

list-team-memberships

List Team Memberships

read-only idempotent
create-team-membership

Create a Team Membership

get-team-membership-details

Get Team Membership Details

read-only idempotent
update-team-membership

Update a Team Membership

idempotent
delete-team-membership

Delete a Team Membership

idempotent

Capability Spec

messaging-team-memberships.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Webex Messaging — Team Memberships
  description: 'Webex Messaging — Team Memberships. 5 operations. Lead operation: List Team Memberships. Self-contained Naftiko
    capability covering one Webex business surface.'
  tags:
  - Webex
  - Team Memberships
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WEBEX_API_KEY: WEBEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: messaging-team-memberships
    baseUri: ''
    description: Webex Messaging — Team Memberships business capability. Self-contained, no shared references.
    resources:
    - name: team-memberships
      path: /team/memberships
      operations:
      - name: listteammemberships
        method: GET
        description: List Team Memberships
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: teamId
          in: query
          type: string
          description: List memberships for a team, by ID.
          required: true
        - name: max
          in: query
          type: number
          description: Limit the maximum number of team memberships in the response.
      - name: createteammembership
        method: POST
        description: Create a Team Membership
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: team-memberships-membershipId
      path: /team/memberships/{membershipId}
      operations:
      - name: getteammembershipdetails
        method: GET
        description: Get Team Membership Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: membershipId
          in: path
          type: string
          description: The unique identifier for the team membership.
          required: true
      - name: updateateammembership
        method: PUT
        description: Update a Team Membership
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: membershipId
          in: path
          type: string
          description: The unique identifier for the team membership.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteateammembership
        method: DELETE
        description: Delete a Team Membership
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: membershipId
          in: path
          type: string
          description: The unique identifier for the team membership.
          required: true
    authentication:
      type: bearer
      token: '{{env.WEBEX_API_KEY}}'
  exposes:
  - type: rest
    namespace: messaging-team-memberships-rest
    port: 8080
    description: REST adapter for Webex Messaging — Team Memberships. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/team/memberships
      name: team-memberships
      description: REST surface for team-memberships.
      operations:
      - method: GET
        name: listteammemberships
        description: List Team Memberships
        call: messaging-team-memberships.listteammemberships
        with:
          teamId: rest.teamId
          max: rest.max
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createteammembership
        description: Create a Team Membership
        call: messaging-team-memberships.createteammembership
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/team/memberships/{membershipid}
      name: team-memberships-membershipid
      description: REST surface for team-memberships-membershipId.
      operations:
      - method: GET
        name: getteammembershipdetails
        description: Get Team Membership Details
        call: messaging-team-memberships.getteammembershipdetails
        with:
          membershipId: rest.membershipId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateateammembership
        description: Update a Team Membership
        call: messaging-team-memberships.updateateammembership
        with:
          membershipId: rest.membershipId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteateammembership
        description: Delete a Team Membership
        call: messaging-team-memberships.deleteateammembership
        with:
          membershipId: rest.membershipId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: messaging-team-memberships-mcp
    port: 9090
    transport: http
    description: MCP adapter for Webex Messaging — Team Memberships. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-team-memberships
      description: List Team Memberships
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: messaging-team-memberships.listteammemberships
      with:
        teamId: tools.teamId
        max: tools.max
      outputParameters:
      - type: object
        mapping: $.
    - name: create-team-membership
      description: Create a Team Membership
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: messaging-team-memberships.createteammembership
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-team-membership-details
      description: Get Team Membership Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: messaging-team-memberships.getteammembershipdetails
      with:
        membershipId: tools.membershipId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-team-membership
      description: Update a Team Membership
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: messaging-team-memberships.updateateammembership
      with:
        membershipId: tools.membershipId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-team-membership
      description: Delete a Team Membership
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: messaging-team-memberships.deleteateammembership
      with:
        membershipId: tools.membershipId
      outputParameters:
      - type: object
        mapping: $.