Calendly ACTION
List Webhook Subscriptions
Get a list of Webhook Subscriptions for an Organization or User via
GET /webhook_subscriptions. Requires organizationUri when scope is organization, or userUri when scope is user. Run List Organization Memberships first to obtain an organization or user URI. Example: call with scope set to organization and organizationUri set to https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA to return that organization's webhook subscriptions. See the documentation- Action
- Read only
- OAuth
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's Calendly account once, then configure and run List Webhook Subscriptions 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: "calendly_v2-list-webhook-subscriptions",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
calendly_v2: { authProvisionId: "apn_xxxxxxx" },
scope: "Scope",
organizationUri: "Organization URI",
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "calendly_v2-list-webhook-subscriptions",
"configured_props": {
"calendly_v2": { "authProvisionId": "apn_xxxxxxx" },
"scope": "Scope",
"organizationUri": "Organization URI"
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "calendly_v2",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "calendly_v2-list-webhook-subscriptions",
arguments: {
scope: "Scope",
organizationUri: "Organization URI",
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
scope Scope | string | Filter the list by organization or user. Required |
organizationUri Organization URI | string | Filters the results by organization URI, such as https://api.calendly.com/organizations/012345678901234567890. Required when scope is organization. Run List Organization Memberships first to obtain a valid organization URI. Optional |
userUri User URI | string | Filters the results by user URI, such as https://api.calendly.com/users/CAFHCZWDQLKQ73HX. Required when scope is user. Run List Organization Memberships first to obtain a valid user URI. Optional |
count Count | string | The number of rows to return. Optional |
pageToken Page Token | string | The token to pass to get the next portion of the collection. Optional |
sort Sort | string | Order results by the specified field and direction. Accepts comma-separated list of {field}:{direction} values. Supported fields are: created_at. Sort direction is specified as: asc, desc. 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
- calendly_v2-list-webhook-subscriptions
- Version
- 0.1.8
- App
- Calendly
- Authentication
- OAuth
- Read-only
- Yes
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗