View as Markdown
Cisco Webex icon

Cisco Webex ACTION

List Messages

Retrieve messages in a specific room. See the docs here
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Cisco Webex account once, then configure and run List Messages from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "cisco_webex-list-messages",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    cisco_webex: { authProvisionId: "apn_xxxxxxx" },
    roomId: "Room ID",
    parentId: "Parent ID",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

List Messages inputs
Property Type Description
roomId Room ID string
The ID of the room to post the message to.
Required Dynamic
parentId Parent ID string
The ID of the parent message to reply to.
Optional Dynamic
before Before string
List messages sent before a date and time.
Optional
max Max integer
The maximum number of messages to return per page. Defaults to 50.
Optional
maxResources Max Resources integer
The maximum number of resources to return in total. Defaults to 100.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
cisco_webex-list-messages
Version
0.1.1
App
Cisco Webex
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes